aboutsummaryrefslogtreecommitdiff
path: root/src/examples/http_compression.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/http_compression.c')
-rw-r--r--src/examples/http_compression.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/http_compression.c b/src/examples/http_compression.c
index f7d8db21..0419a803 100644
--- a/src/examples/http_compression.c
+++ b/src/examples/http_compression.c
@@ -31,7 +31,7 @@
31 "hello, hello. This is a 'hello world' message for the world, " \ 31 "hello, hello. This is a 'hello world' message for the world, " \
32 "repeat, for the world.</body></html>" 32 "repeat, for the world.</body></html>"
33 33
34static int 34static enum MHD_Result
35can_compress (struct MHD_Connection *con) 35can_compress (struct MHD_Connection *con)
36{ 36{
37 const char *ae; 37 const char *ae;
@@ -60,7 +60,7 @@ can_compress (struct MHD_Connection *con)
60} 60}
61 61
62 62
63static int 63static enum MHD_Result
64body_compress (void **buf, 64body_compress (void **buf,
65 size_t *buf_size) 65 size_t *buf_size)
66{ 66{
@@ -90,7 +90,7 @@ body_compress (void **buf,
90} 90}
91 91
92 92
93static int 93static enum MHD_Result
94ahc_echo (void *cls, 94ahc_echo (void *cls,
95 struct MHD_Connection *connection, 95 struct MHD_Connection *connection,
96 const char *url, 96 const char *url,
@@ -99,8 +99,8 @@ ahc_echo (void *cls,
99 const char *upload_data, size_t *upload_data_size, void **ptr) 99 const char *upload_data, size_t *upload_data_size, void **ptr)
100{ 100{
101 struct MHD_Response *response; 101 struct MHD_Response *response;
102 int ret; 102 enum MHD_Result ret;
103 int comp; 103 enum MHD_Result comp;
104 size_t body_len; 104 size_t body_len;
105 char *body_str; 105 char *body_str;
106 (void) cls; /* Unused. Silent compiler warning. */ 106 (void) cls; /* Unused. Silent compiler warning. */