summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/reqs.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 73e0f1f..504b628 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -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;
}
/*