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/examples/suspend_resume_epoll.c | |
parent | 6347f514aa2388e774d5bf356df8046864e5f73c (diff) | |
download | libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.tar.gz libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.zip |
define and use 'enum MHD_Result'
Diffstat (limited to 'src/examples/suspend_resume_epoll.c')
-rw-r--r-- | src/examples/suspend_resume_epoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/suspend_resume_epoll.c b/src/examples/suspend_resume_epoll.c index a69fdc4a..afa1169c 100644 --- a/src/examples/suspend_resume_epoll.c +++ b/src/examples/suspend_resume_epoll.c | |||
@@ -43,7 +43,7 @@ static int epfd; | |||
43 | static struct epoll_event evt; | 43 | static struct epoll_event evt; |
44 | 44 | ||
45 | 45 | ||
46 | static int | 46 | static enum MHD_Result |
47 | ahc_echo (void *cls, | 47 | ahc_echo (void *cls, |
48 | struct MHD_Connection *connection, | 48 | struct MHD_Connection *connection, |
49 | const char *url, | 49 | const char *url, |
@@ -52,7 +52,7 @@ ahc_echo (void *cls, | |||
52 | const char *upload_data, size_t *upload_data_size, void **ptr) | 52 | const char *upload_data, size_t *upload_data_size, void **ptr) |
53 | { | 53 | { |
54 | struct MHD_Response *response; | 54 | struct MHD_Response *response; |
55 | int ret; | 55 | enum MHD_Result ret; |
56 | struct Request*req; | 56 | struct Request*req; |
57 | struct itimerspec ts; | 57 | struct itimerspec ts; |
58 | 58 | ||