diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-03-07 13:46:22 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-03-07 13:46:22 +0000 |
commit | 7e1588aae0a1636ef869dd63a2c67db2109174ce (patch) | |
tree | dad188056c8120a353101b166632091653fa8e58 /lang/erlang | |
parent | 7710c2b725e7c6e5a166dc02985e7544e5b1f2c2 (diff) | |
download | ports-7e1588aae0a1636ef869dd63a2c67db2109174ce.tar.gz ports-7e1588aae0a1636ef869dd63a2c67db2109174ce.zip |
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl new file mode 100644 index 000000000000..41663e663413 --- /dev/null +++ b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/httpc_request.erl.orig ++++ lib/inets/src/http_client/httpc_request.erl +@@ -78,7 +78,7 @@ + %%%======================================================================== + post_data(Method, Headers, {ContentType, Body}) + when Method == post; Method == put -> +- ContentLength = length(Body), ++ ContentLength = integer_to_list(length(Body)), + NewBody = case Headers#http_request_h.expect of + "100-continue" -> + ""; |