diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
commit | de872dea2d88f183c3f434c694acdcdb373f639c (patch) | |
tree | fb9084eb931c9789060e65ee3be3dc5adcb30e73 /src/testcurl/test_large_put.c | |
parent | 6347f514aa2388e774d5bf356df8046864e5f73c (diff) | |
download | libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.tar.gz libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.zip |
define and use 'enum MHD_Result'
Diffstat (limited to 'src/testcurl/test_large_put.c')
-rw-r--r-- | src/testcurl/test_large_put.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c index b52246ef..d93942e4 100644 --- a/src/testcurl/test_large_put.c +++ b/src/testcurl/test_large_put.c | |||
@@ -118,7 +118,7 @@ copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) | |||
118 | } | 118 | } |
119 | 119 | ||
120 | 120 | ||
121 | static int | 121 | static enum MHD_Result |
122 | ahc_echo (void *cls, | 122 | ahc_echo (void *cls, |
123 | struct MHD_Connection *connection, | 123 | struct MHD_Connection *connection, |
124 | const char *url, | 124 | const char *url, |
@@ -129,7 +129,7 @@ ahc_echo (void *cls, | |||
129 | { | 129 | { |
130 | int *done = cls; | 130 | int *done = cls; |
131 | struct MHD_Response *response; | 131 | struct MHD_Response *response; |
132 | int ret; | 132 | enum MHD_Result ret; |
133 | static size_t processed; | 133 | static size_t processed; |
134 | (void) version; /* Unused. Silent compiler warning. */ | 134 | (void) version; /* Unused. Silent compiler warning. */ |
135 | 135 | ||