]> granicus.if.org Git - curl/commitdiff
ftpserver: properly reset $ftptargetdir.
authorPatrick Monnerat <patrick@monnerat.net>
Sun, 8 Oct 2017 18:29:44 +0000 (19:29 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Sun, 8 Oct 2017 18:29:44 +0000 (19:29 +0100)
tests/ftpserver.pl

index 2aba4263a28d23dd1800095e1aacfc23e7495085..77d0b6faf4637b1e1f9999496def215ccad1e22d 100755 (executable)
@@ -3023,7 +3023,7 @@ while(1) {
       undef $ftplistparserstate;
     }
     if($ftptargetdir) {
-      undef $ftptargetdir;
+      $ftptargetdir = "";
     }
 
     if($verbose) {