reqs:process_client_headers: polish logic flow a bit.

Michael
This commit is contained in:
Michael Adam 2010-01-10 00:35:21 +01:00
parent 0bfc0e90c1
commit e1e9e53d45

View File

@ -902,11 +902,12 @@ process_client_headers (struct conn_s *connptr, hashmap_t hashofheaders)
* Spin here pulling the data from the client.
*/
PULL_CLIENT_DATA:
if (connptr->content_length.client > 0)
return pull_client_data (connptr,
connptr->content_length.client);
else
return ret;
if (connptr->content_length.client > 0) {
ret = pull_client_data (connptr,
connptr->content_length.client);
}
return ret;
}
/*