]> dxcluster.org Git - spider.git/commitdiff
altered order of a couple of statements
authorminima <minima>
Fri, 2 Mar 2001 17:16:42 +0000 (17:16 +0000)
committerminima <minima>
Fri, 2 Mar 2001 17:16:42 +0000 (17:16 +0000)
perl/Msg.pm

index 74c64ec7c70da7e92dd7c9015010110d8bdcf9b1..02795812e40bc5da3445953b0e56e382ff46ef27 100644 (file)
@@ -244,9 +244,8 @@ sub _rcv {                     # Complement to _send
                if ($bytes_read > 0) {
                        if ($msg =~ /\n/) {
                                @lines = split /\r?\n/, $msg;
-                               push @lines, ' ' unless @lines;
-                               
                                $lines[0] = $conn->{msg} . $lines[0] if exists $conn->{msg};
+                               push @lines, ' ' unless @lines;
                                if ($msg =~ /\n$/) {
                                        delete $conn->{msg};
                                } else {