diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-01-27 11:51:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-27 11:51:11 +0000 |
commit | e3f10eb825974c4071ad17ead97190a5c7fe8f15 (patch) | |
tree | 3cd0f298a9d6b24f0b9ebd1e312d097dddffe7ca | |
parent | 2b1f6832395f2424f2f081a262dd3e8e6a70b82c (diff) |
no longer add CRLF _after_ POST data, it should not be needed. Pedro Neves
pointed out this ugliness.
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index 42668b398..1113e38e4 100644 --- a/lib/http.c +++ b/lib/http.c @@ -935,12 +935,11 @@ CURLcode Curl_http(struct connectdata *conn) add_buffer(req_buffer, "\r\n", 2); add_buffer(req_buffer, data->set.postfields, data->set.postfieldsize); - add_buffer(req_buffer, "\r\n", 2); } else { add_bufferf(req_buffer, "\r\n" - "%s\r\n", + "%s", data->set.postfields ); } } |