mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Always remove the alarm before changing the handler, not the other way around.
This commit is contained in:
parent
ec07aca7d5
commit
f00c6c8561
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user