projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ae3c2
)
another <case> converted to sysread
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 2 May 2005 11:55:17 +0000
(11:55 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 2 May 2005 11:55:17 +0000
(11:55 +0000)
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
4c7643a
..
abc0f74
100644
(file)
--- 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 = <SFREAD>;
+ my $pong;
+ sysread SFREAD, $pong, 5;
if($pong !~ /^PONG/) {
logmsg "Failed sockfilt command: $cmd\n";