diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-02-27 01:02:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-02-27 01:02:26 +0000 |
commit | 0a638a4188044acc6eccef3978dc4bef990f3e09 (patch) | |
tree | ee6b25dbafe26d9eb8325833915db1b9f579c0d9 /src/examples/fileserver_example.c | |
parent | a837c7b77938762ec8e15c48a99ba10ba03b1fc3 (diff) | |
download | libmicrohttpd-0a638a4188044acc6eccef3978dc4bef990f3e09.tar.gz libmicrohttpd-0a638a4188044acc6eccef3978dc4bef990f3e09.zip |
fixing bugs as pointed out by Timothy Shaeffer
Diffstat (limited to 'src/examples/fileserver_example.c')
-rw-r--r-- | src/examples/fileserver_example.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c index b9eeed57..9fe689d1 100644 --- a/src/examples/fileserver_example.c +++ b/src/examples/fileserver_example.c | |||
@@ -43,8 +43,9 @@ ahc_echo (void *cls, | |||
43 | struct MHD_Connection *connection, | 43 | struct MHD_Connection *connection, |
44 | const char *url, | 44 | const char *url, |
45 | const char *method, | 45 | const char *method, |
46 | const char *version, | ||
46 | const char *upload_data, | 47 | const char *upload_data, |
47 | const char *version, unsigned int *upload_data_size, void **ptr) | 48 | size_t *upload_data_size, void **ptr) |
48 | { | 49 | { |
49 | static int aptr; | 50 | static int aptr; |
50 | struct MHD_Response *response; | 51 | struct MHD_Response *response; |