diff --git a/lib/http.c b/lib/http.c index 34d79a7e2ddc122cd1e1d5eb7ca99ae6ef28b7bd..3084d321109764a4e7df2e479f6af77be1897e77 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;