X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=3ec241ba04c422c15c2ba9bd7a4cdef8525b9b95;hp=baed79ae476cb47cadbd7a9973d6998d9dc4974c;hb=e00bca524956e7850d759f919aad47ccb854baec;hpb=faf19b0ff0a5cbc2e814bd095c95d64730e18d27 diff --git a/remoteglot.pl b/remoteglot.pl index baed79a..3ec241b 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -1089,7 +1089,7 @@ sub read_line { my $line = ''; while ($line !~ /\n/) { my $tmp; - my $ret = sysread $engine->{'read'}, $tmp, 1; + my $ret = sysread $fh, $tmp, 1; if (!defined($ret)) { next if ($!{EINTR});