libs/nixio: add missing parameter to alarm reset

This commit is contained in:
Jo-Philipp Wich 2012-08-27 14:54:37 +00:00
parent 54567e57ea
commit 1916ab494a

View file

@ -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