mirror of
https://github.com/curl/curl.git
synced 2026-06-03 12:04:14 +03:00
another <case> converted to sysread
This commit is contained in:
parent
02ae3c2810
commit
ed9e10f2d8
1 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,8 @@ sub startsf {
|
|||
print STDERR "$cmd\n" if($verbose);
|
||||
|
||||
print SFWRITE "PING\n";
|
||||
my $pong = <SFREAD>;
|
||||
my $pong;
|
||||
sysread SFREAD, $pong, 5;
|
||||
|
||||
if($pong !~ /^PONG/) {
|
||||
logmsg "Failed sockfilt command: $cmd\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue