summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/address.c')
-rw-r--r--libs/nixio/src/address.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/nixio/src/address.c b/libs/nixio/src/address.c
index a9759ea54..d4f13d764 100644
--- a/libs/nixio/src/address.c
+++ b/libs/nixio/src/address.c
@@ -336,7 +336,10 @@ static int nixio_getnameinfo(lua_State *L) {
#ifdef __linux__
if (timeout > 0 && timeout < 1000)
+ {
+ ualarm(0);
sigaction(SIGALRM, &sa_old, NULL);
+ }
#endif
if (res) {