mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix compilation error in ipa-cldap.
https://fedorahosted.org/freeipa/ticket/3896
This commit is contained in:
committed by
Petr Viktorin
parent
8bfa79289a
commit
07ddfdd127
@@ -82,7 +82,9 @@ static int ipa_cldap_stop(Slapi_PBlock *pb)
|
||||
}
|
||||
|
||||
/* send stop signal to terminate worker thread */
|
||||
write(ctx->stopfd[1], "", 1);
|
||||
do {
|
||||
ret = write(ctx->stopfd[1], "", 1);
|
||||
} while (ret == -1 && errno == EINTR);
|
||||
close(ctx->stopfd[1]);
|
||||
|
||||
ret = pthread_join(ctx->tid, &retval);
|
||||
|
||||
Reference in New Issue
Block a user