mhd_daemon_accept_connection(): fixed wrong result code

This commit is contained in:
Evgeny Grin (Karlson2k)
2025-04-03 16:37:23 +03:00
parent ba38826510
commit 886f6387d6
+1 -1
View File
@@ -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 */
}