From ed9e10f2d8882cb8b9452aea96900d9dc4e78c97 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 May 2005 11:55:17 +0000 Subject: [PATCH] another converted to sysread --- tests/ftpserver.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";