mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
mhd_daemon_accept_connection(): fixed wrong result code
This commit is contained in:
@@ -1008,7 +1008,7 @@ mhd_daemon_accept_connection (struct MHD_Daemon *restrict daemon)
|
||||
if (! daemon->sigpipe_blocked)
|
||||
{
|
||||
(void) MHD_socket_close_ (s);
|
||||
return MHD_NO;
|
||||
return mhd_DAEMON_ACCEPT_FAILED;
|
||||
}
|
||||
#endif /* HAVE_DCLR_MSG_NOSIGNAL */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user