projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- attempt to fix win32 build
[m6w6/ext-http]
/
http_send_api.c
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
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
(encoding == HTTP_ENCODING_GZIP) ?
HTTP_DEFLATE_TYPE_GZIP : HTTP_DEFLATE_TYPE_ZLIB);
#endif