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/daemon.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/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index f23080ef..660ee61e 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3223,7 +3223,7 @@ MHD_accept_connection (struct MHD_Daemon *daemon) | |||
3223 | { | 3223 | { |
3224 | const int err = MHD_socket_get_error_ (); | 3224 | const int err = MHD_socket_get_error_ (); |
3225 | 3225 | ||
3226 | /* This could be a common occurance with multiple worker threads */ | 3226 | /* This could be a common occurrence with multiple worker threads */ |
3227 | if (MHD_SCKT_ERR_IS_ (err, | 3227 | if (MHD_SCKT_ERR_IS_ (err, |
3228 | MHD_SCKT_EINVAL_)) | 3228 | MHD_SCKT_EINVAL_)) |
3229 | return MHD_NO; /* can happen during shutdown */ | 3229 | return MHD_NO; /* can happen during shutdown */ |