reqs:process_client_headers: polish logic flow a bit.

Michael
This commit is contained in:
Michael Adam committed 2010-01-10 01:49:14 +01:00
1 parent 0bfc0e90c1
commit e1e9e53d45
1 file changed
+6 -5
+6 -5
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;
}
/*