projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
054e10c
)
- attempt to fix win32 build
author
Michael Wallner
<mike@php.net>
Fri, 24 Nov 2006 14:23:45 +0000
(14:23 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 24 Nov 2006 14:23:45 +0000
(14:23 +0000)
http_send_api.c
patch
|
blob
|
history
diff --git
a/http_send_api.c
b/http_send_api.c
index ed92028b731fa3a42f50870803d0b6ccb292372f..9c5747cbe4e4f3be861e9eba68561ac0b354f54c 100644
(file)
--- a/
http_send_api.c
+++ b/
http_send_api.c
@@
-54,7
+54,7
@@
static inline void _http_send_response_start(void **buffer, size_t content_lengt
if ((encoding = http_encoding_response_start(content_length, 0))) {
#ifdef HTTP_HAVE_ZLIB
- *
buffer
= http_encoding_deflate_stream_init(NULL,
+ *
((http_encoding_stream **) buffer)
= http_encoding_deflate_stream_init(NULL,
(encoding == HTTP_ENCODING_GZIP) ?
HTTP_DEFLATE_TYPE_GZIP : HTTP_DEFLATE_TYPE_ZLIB);
#endif