projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put in long path stuff for show/muf (not convinced it works)
[spider.git]
/
perl
/
client.pl
diff --git
a/perl/client.pl
b/perl/client.pl
index a7185ab208de387c0a58df593ca3c4597e2a5151..459c26323a34480131247918043d9124649962dd 100755
(executable)
--- a/
perl/client.pl
+++ b/
perl/client.pl
@@
-270,6
+270,10
@@
sub dochat
$line = <$rfh>;
$line =~ s/\r//og;
}
$line = <$rfh>;
$line =~ s/\r//og;
}
+ if (length $line == 0) {
+ dbg('connect', "received 0 length line, aborting...");
+ cease(11);
+ }
dbg('connect', "received \"$line\"");
if ($abort && $line =~ /$abort/i) {
dbg('connect', "aborted on /$abort/");
dbg('connect', "received \"$line\"");
if ($abort && $line =~ /$abort/i) {
dbg('connect', "aborted on /$abort/");