aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 34d79a7e2..3084d3211 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1886,7 +1886,7 @@ CURLcode Curl_http(struct connectdata *conn)
This limit is no magic limit but only set to prevent really huge
POSTs to get the data duplicated with malloc() and family. */
- result == add_buffer(req_buffer, "\r\n", 2); /* end of headers! */
+ result = add_buffer(req_buffer, "\r\n", 2); /* end of headers! */
if(result)
return result;