libs/nixio: add missing parameter to alarm reset
This commit is contained in:
parent
54567e57ea
commit
1916ab494a
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ static int nixio_getnameinfo(lua_State *L) {
|
|||
#ifdef __linux__
|
||||
if (timeout > 0 && timeout < 1000)
|
||||
{
|
||||
ualarm(0);
|
||||
ualarm(0, 0);
|
||||
sigaction(SIGALRM, &sa_old, NULL);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue