summaryrefslogtreecommitdiff
path: root/devel/libevent/files/patch-http.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libevent/files/patch-http.c')
-rw-r--r--devel/libevent/files/patch-http.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libevent/files/patch-http.c b/devel/libevent/files/patch-http.c
new file mode 100644
index 000000000000..034843b20388
--- /dev/null
+++ b/devel/libevent/files/patch-http.c
@@ -0,0 +1,11 @@
+--- http.c.orig Sat Aug 12 11:41:36 2006
++++ http.c Tue Oct 31 04:12:27 2006
+@@ -207,7 +207,7 @@
+ evhttp_find_header(req->output_headers, "Content-Length") == NULL){
+ char size[12];
+ snprintf(size, sizeof(size), "%ld",
+- EVBUFFER_LENGTH(req->output_buffer));
++ (long int)EVBUFFER_LENGTH(req->output_buffer));
+ evhttp_add_header(req->output_headers, "Content-Length", size);
+ }
+ }