diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-10-05 07:05:56 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-10-05 07:05:56 +0200 |
commit | 3918fa1a9488d56040d43e4af1254f9564266513 (patch) | |
tree | 33d75c62a3fffb1730da9e285e5d7047ca14ae46 /kbx | |
parent | agent: Fix calibrate_get_time use of clock_gettime. (diff) | |
download | gnupg2-3918fa1a9488d56040d43e4af1254f9564266513.tar.xz gnupg2-3918fa1a9488d56040d43e4af1254f9564266513.zip |
agent,dirmngr,kbx,scd,tpm2d: Use gnupg_sleep.
* agent/findkey.c (unprotect): Use gnupg_sleep.
* agent/gpg-agent.c (handle_connections): Likewise.
* dirmngr/crlfetch.c (handle_connections): Likewise.
* kbx/keyboxd.c (handle_connections): Likewise.
* tpm2d/tpm3daemon.c (handle_connections): Likewise.
* scd/scdaemon.c (handle_connections): Likewise.
* scd/command.c (cmd_lock): Likewise.
* dirmngr/ldap-wrapper.c (ldap_reaper_thread): Likewise.
(ldap_wrapper_wait_connections): Use gnupg_usleep.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'kbx')
-rw-r--r-- | kbx/keyboxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c index 3f759e6f7..404fe46fe 100644 --- a/kbx/keyboxd.c +++ b/kbx/keyboxd.c @@ -1607,7 +1607,7 @@ handle_connections (gnupg_fd_t listen_fd) { log_error (_("npth_pselect failed: %s - waiting 1s\n"), strerror (saved_errno)); - npth_sleep (1); + gnupg_sleep (1); continue; } if (ret <= 0) |