]> granicus.if.org Git - curl/commitdiff
ftpserver.pl: Fixed compilation error from commit 49341628b50007
authorSteve Holme <steve_holme@hotmail.com>
Sun, 29 Sep 2013 12:13:13 +0000 (13:13 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 29 Sep 2013 12:13:13 +0000 (13:13 +0100)
tests/ftpserver.pl

index 907846ab9b4315d55df54aab1cd2e8d5245f3fe0..77cef42ddda3008d3ff96c3948bbd86fd82d3873 100755 (executable)
@@ -882,7 +882,7 @@ sub DATA_smtp {
     if ($args) {
         sendcontrol "501 Unrecognized parameter\r\n";
     }
-    elsif ($smtp_client !~ /^(\d*)$/)
+    elsif ($smtp_client !~ /^(\d*)$/) {
         sendcontrol "501 Invalid arguments\r\n";
     }
     else {