diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:38:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:38:07 +0200 |
commit | 89d2ef97322ff5276e9a437e616a1e07529e0b26 (patch) | |
tree | c556b686eb323ca61036d69774553056ac8e2361 /src/microhttpd/mhd_send.c | |
parent | de872dea2d88f183c3f434c694acdcdb373f639c (diff) | |
parent | da0585902ce08aacf97f7711b85343d4d45c80fe (diff) | |
download | libmicrohttpd-89d2ef97322ff5276e9a437e616a1e07529e0b26.tar.gz libmicrohttpd-89d2ef97322ff5276e9a437e616a1e07529e0b26.zip |
define and use 'enum MHD_Result' (merge)
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r-- | src/microhttpd/mhd_send.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index b0c0842b..cc75bbde 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -86,11 +86,11 @@ pre_cork_setsockopt (struct MHD_Connection *connection, | |||
86 | #endif | 86 | #endif |
87 | break; | 87 | break; |
88 | case EFAULT: | 88 | case EFAULT: |
89 | /* wopsie, should at leats log this, FIXME: maybe die */ | 89 | /* wopsie, should at least log this, FIXME: maybe die */ |
90 | #ifdef HAVE_MESSAGES | 90 | #ifdef HAVE_MESSAGES |
91 | MHD_DLOG (connection->daemon, | 91 | MHD_DLOG (connection->daemon, |
92 | _ ( | 92 | _ ( |
93 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), | 93 | "The address pointed to by optval is not a valid part of the process address space: %s\n"), |
94 | MHD_socket_last_strerr_ ()); | 94 | MHD_socket_last_strerr_ ()); |
95 | #endif | 95 | #endif |
96 | break; | 96 | break; |
@@ -173,11 +173,11 @@ post_cork_setsockopt (struct MHD_Connection *connection, | |||
173 | #endif | 173 | #endif |
174 | break; | 174 | break; |
175 | case EFAULT: | 175 | case EFAULT: |
176 | /* wopsie, should at leats log this, FIXME: maybe die */ | 176 | /* wopsie, should at least log this, FIXME: maybe die */ |
177 | #ifdef HAVE_MESSAGES | 177 | #ifdef HAVE_MESSAGES |
178 | MHD_DLOG (connection->daemon, | 178 | MHD_DLOG (connection->daemon, |
179 | _ ( | 179 | _ ( |
180 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), | 180 | "The address pointed to by optval is not a valid part of the process address space: %s\n"), |
181 | MHD_socket_last_strerr_ ()); | 181 | MHD_socket_last_strerr_ ()); |
182 | #endif | 182 | #endif |
183 | break; | 183 | break; |