summaryrefslogtreecommitdiff
path: root/devel/libevent/files/patch-http.c
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-11-06 04:04:07 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-11-06 04:04:07 +0000
commit3d361f39b155a8fb96282e30acbedbb9bbbf4589 (patch)
tree34a80b22a2834f134cc760d71d354a377e12c39a /devel/libevent/files/patch-http.c
parent- Update to 0.99 (diff)
- Update to real 1.2 release
PR: ports/104963 Submitted by: oz_AT_nixil dot net
Notes
Notes: svn path=/head/; revision=176586
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);
+ }
+ }