mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-20 18:08:02 +02:00
Fix
This commit is contained in:
parent
31046831a1
commit
b5c759a68b
@ -36,7 +36,7 @@ static void sig_handler_exit(int s)
|
|||||||
|
|
||||||
static int register_signal(int sig, __sighandler_t handler)
|
static int register_signal(int sig, __sighandler_t handler)
|
||||||
{
|
{
|
||||||
ERRCHK_RET_ERN(signal(sig, handler));
|
ERRCHK_RET_ERN(signal(sig, handler) == SIG_ERR);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user