aboutsummaryrefslogtreecommitdiff
path: root/src/examples/http_chunked_compression.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/http_chunked_compression.c')
-rw-r--r--src/examples/http_chunked_compression.c4
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
103static ssize_t 104static ssize_t
104read_cb (void *cls, uint64_t pos, char *mem, size_t size) 105read_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
142static void 144static void
143free_cb (void *cls) 145free_cb (void *cls)
144{ 146{
@@ -149,6 +151,7 @@ free_cb (void *cls)
149 free (holder); 151 free (holder);
150} 152}
151 153
154
152static int 155static int
153ahc_echo (void *cls, struct MHD_Connection *con, const char *url, const 156ahc_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
210int 214int
211main (int argc, char *const *argv) 215main (int argc, char *const *argv)
212{ 216{