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 | |
parent | Update to 0.59. (diff) |
I forgot to commit this file (for R10B-3.)
Notes
Notes:
svn path=/head/; revision=130534
Diffstat (limited to 'lang')
-rw-r--r-- | lang/erlang/files/patch-lib_inets_src_http__client_httpc__request.erl | 14 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl | 14 |
2 files changed, 28 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" -> + ""; diff --git a/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl b/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__request.erl new file mode 100644 index 000000000000..41663e663413 --- /dev/null +++ b/lang/erlang14/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" -> + ""; |