summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 7410620c6d..fc4dff5764 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -1410,8 +1410,8 @@ static int another_ldap_try(struct smbldap_state *ldap_state, int *rc,
}
no_next:
- CatchSignal(SIGALRM, SIG_IGN);
alarm(0);
+ CatchSignal(SIGALRM, SIG_IGN);
ldap_state->last_use = now;
return False;
}