From: Daniel Stenberg Date: Mon, 2 May 2005 11:55:17 +0000 (+0000) Subject: another converted to sysread X-Git-Tag: curl-7_14_0~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed9e10f2d8882cb8b9452aea96900d9dc4e78c97;p=curl another converted to sysread --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 4c7643ad7..abc0f74c8 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -123,7 +123,8 @@ sub startsf { print STDERR "$cmd\n" if($verbose); print SFWRITE "PING\n"; - my $pong = ; + my $pong; + sysread SFREAD, $pong, 5; if($pong !~ /^PONG/) { logmsg "Failed sockfilt command: $cmd\n";