]> dxcluster.net Git - spider.git/commitdiff
*** empty log message ***
authordjk <djk>
Sun, 18 Jun 2000 19:06:26 +0000 (19:06 +0000)
committerdjk <djk>
Sun, 18 Jun 2000 19:06:26 +0000 (19:06 +0000)
perl/client.pl

index 47e05463a08fc4dc4ed13ce287a7759fbbe08732..611c313daa61de0be049f8122a0b0dd977907717 100755 (executable)
@@ -182,7 +182,7 @@ sub rec_stdin
        } elsif ($r > 0) {
                if ($mode) {
                        $buf =~ s/\r/\n/g if $mode == 1;
-                       $buf =~ s/[\r\x00]//g if $mode == 2;
+                       $buf =~ s/[\r\x00]//g if $mode == 2 || $mode == 3;
                        
                        $dangle = !($buf =~ /\n$/);
                        if ($buf eq "\n") {