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_callback.c | |
parent | 6347f514aa2388e774d5bf356df8046864e5f73c (diff) | |
download | libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.tar.gz libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.zip |
define and use 'enum MHD_Result'
Diffstat (limited to 'src/testcurl/test_callback.c')
-rw-r--r-- | src/testcurl/test_callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_callback.c b/src/testcurl/test_callback.c index 2e2be470..d9dfecef 100644 --- a/src/testcurl/test_callback.c +++ b/src/testcurl/test_callback.c | |||
@@ -58,7 +58,7 @@ called_twice (void *cls, uint64_t pos, char *buf, size_t max) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | 60 | ||
61 | static int | 61 | static enum MHD_Result |
62 | callback (void *cls, | 62 | callback (void *cls, |
63 | struct MHD_Connection *connection, | 63 | struct MHD_Connection *connection, |
64 | const char *url, | 64 | const char *url, |
@@ -70,7 +70,7 @@ callback (void *cls, | |||
70 | { | 70 | { |
71 | struct callback_closure *cbc = calloc (1, sizeof(struct callback_closure)); | 71 | struct callback_closure *cbc = calloc (1, sizeof(struct callback_closure)); |
72 | struct MHD_Response *r; | 72 | struct MHD_Response *r; |
73 | int ret; | 73 | enum MHD_Result ret; |
74 | 74 | ||
75 | (void) cls; | 75 | (void) cls; |
76 | (void) url; /* Unused. Silent compiler warning. */ | 76 | (void) url; /* Unused. Silent compiler warning. */ |