remove a useless line

This commit is contained in:
daniceexi 2013-10-11 02:00:13 -04:00
parent f7896eab97
commit 7d5f94dd29

View File

@ -1738,7 +1738,6 @@ sub service_connection {
my $bytesread;
do { $bytesread=sysread($sock,$line,65536,length($line)) } while ($bytesread);
if (length($line)==0) {
if (not defined $bytesread and $! == EAGAIN) { next; } #
if (not defined $bytesread and ($! == EAGAIN or $! == ECHILD)) { next; } # ECHILD makes no sense, but some platform does it
last;
}