From c27b6d15e269ea674e28375fec134850a14bbb63 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 22 Nov 2013 18:36:18 +0100 Subject: reqs: rename a variable. ret will be used in enclosing scope. so rename this special varibale. Signed-off-by: Michael Adam --- src/reqs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/reqs.c b/src/reqs.c index 37f87d5..5144a12 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -533,10 +533,10 @@ static int pull_client_data (struct conn_s *connptr, long int length) goto ERROR_EXIT; if ((len == 2) && CHECK_CRLF (buffer, len)) { - ssize_t ret; + ssize_t bytes_read; - ret = read (connptr->client_fd, buffer, 2); - if (ret == -1) { + bytes_read = read (connptr->client_fd, buffer, 2); + if (bytes_read == -1) { log_message (LOG_WARNING, "Could not read two bytes from POST message"); -- cgit v1.2.3