diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sockfilt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index bd54f8812..b4e1c07f0 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -320,8 +320,8 @@ static int juggle(curl_socket_t *sockfdp, nread_stdin = 0; do { /* get data in the buffer at the correct position */ - ssize_t rc = read(fileno(stdin), &buffer[nread_stdin], - buffer_len - nread_stdin); + rc = read(fileno(stdin), &buffer[nread_stdin], + buffer_len - nread_stdin); logmsg("read %d bytes", rc); if(rc <= 0) return FALSE; |