reqs: rename a variable.

ret will be used in enclosing scope.
so rename this special varibale.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c27b6d15e2)
This commit is contained in:
Michael Adam 2013-11-22 18:36:18 +01:00
parent e1af5ffa58
commit d05e801eef

View File

@ -546,10 +546,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");