Commit ed9e10f2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

another <case> converted to sysread

parent 02ae3c28
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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";