libs/nixio: add missing parameter to alarm reset
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Aug 2012 14:54:37 +0000 (14:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Aug 2012 14:54:37 +0000 (14:54 +0000)
libs/nixio/src/address.c

index d4f13d7642a328b211d43f999e8977c17d4aadfa..4fd557d6a72fa1f1eae34ac58cf43bbf5de1ccf4 100644 (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