diff options
Diffstat (limited to 'src/daemon/fileserver_example.c')
-rw-r--r-- | src/daemon/fileserver_example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/fileserver_example.c b/src/daemon/fileserver_example.c index 6f39f491..7574cd20 100644 --- a/src/daemon/fileserver_example.c +++ b/src/daemon/fileserver_example.c | |||
@@ -74,6 +74,7 @@ ahc_echo (void *cls, | |||
74 | { | 74 | { |
75 | stat (&url[1], &buf); | 75 | stat (&url[1], &buf); |
76 | response = MHD_create_response_from_callback (buf.st_size, | 76 | response = MHD_create_response_from_callback (buf.st_size, |
77 | 32 * 1024, /* 32k page size */ | ||
77 | &file_reader, | 78 | &file_reader, |
78 | file, | 79 | file, |
79 | (MHD_ContentReaderFreeCallback) | 80 | (MHD_ContentReaderFreeCallback) |