diff options
Diffstat (limited to 'src/examples/http_chunked_compression.c')
-rw-r--r-- | src/examples/http_chunked_compression.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/examples/http_chunked_compression.c b/src/examples/http_chunked_compression.c index 461f4d3a..ba71923b 100644 --- a/src/examples/http_chunked_compression.c +++ b/src/examples/http_chunked_compression.c | |||
@@ -100,6 +100,7 @@ compress_buf (z_stream *strm, const void *src, size_t src_size, size_t *offset, | |||
100 | return (Z_OK == ret) ? MHD_YES : MHD_NO; | 100 | return (Z_OK == ret) ? MHD_YES : MHD_NO; |
101 | } | 101 | } |
102 | 102 | ||
103 | |||
103 | static ssize_t | 104 | static ssize_t |
104 | read_cb (void *cls, uint64_t pos, char *mem, size_t size) | 105 | read_cb (void *cls, uint64_t pos, char *mem, size_t size) |
105 | { | 106 | { |
@@ -139,6 +140,7 @@ done: | |||
139 | return ret; | 140 | return ret; |
140 | } | 141 | } |
141 | 142 | ||
143 | |||
142 | static void | 144 | static void |
143 | free_cb (void *cls) | 145 | free_cb (void *cls) |
144 | { | 146 | { |
@@ -149,6 +151,7 @@ free_cb (void *cls) | |||
149 | free (holder); | 151 | free (holder); |
150 | } | 152 | } |
151 | 153 | ||
154 | |||
152 | static int | 155 | static int |
153 | ahc_echo (void *cls, struct MHD_Connection *con, const char *url, const | 156 | ahc_echo (void *cls, struct MHD_Connection *con, const char *url, const |
154 | char *method, const char *version, | 157 | char *method, const char *version, |
@@ -207,6 +210,7 @@ file_error: | |||
207 | return MHD_NO; | 210 | return MHD_NO; |
208 | } | 211 | } |
209 | 212 | ||
213 | |||
210 | int | 214 | int |
211 | main (int argc, char *const *argv) | 215 | main (int argc, char *const *argv) |
212 | { | 216 | { |