diff options
author | Michael Adam <obnox@samba.org> | 2013-11-22 18:36:18 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-22 18:49:45 +0100 |
commit | c27b6d15e269ea674e28375fec134850a14bbb63 (patch) | |
tree | 2202cbd98832a69817b808b5cf8f6d86bee43942 | |
parent | 68bd0b61b56c5bbf8c2687c3d46edc35f64679af (diff) | |
download | tinyproxy-c27b6d15e269ea674e28375fec134850a14bbb63.tar.gz tinyproxy-c27b6d15e269ea674e28375fec134850a14bbb63.zip |
reqs: rename a variable.
ret will be used in enclosing scope.
so rename this special varibale.
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | src/reqs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); |