]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
woops typo
authorBrian West <brian@freeswitch.org>
Tue, 17 Jun 2014 22:20:00 +0000 (17:20 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 17 Jun 2014 22:20:00 +0000 (17:20 -0500)
scripts/perl/ftc_dnc_register.pl

index 5e6ddf92432d0eb23b31f2223475db333ba21ca0..a53b7a6a4dd7f3b38410b281f1f5dc442f850b61 100644 (file)
@@ -21,7 +21,7 @@ my @nums = <NUMS>;
 foreach my $num (@nums) {
   chomp $num;
   $num =~ s/^1//;
-  next if lenght($num) != 10;
+  next if length($num) != 10;
   print "Dialing from $num\n";
   my @digits = split(//, $num);
   my $dial = join('w', @digits);