aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/crlfetch.c2
-rw-r--r--dirmngr/dirmngr.c2
-rw-r--r--dirmngr/ldap-wrapper.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/dirmngr/crlfetch.c b/dirmngr/crlfetch.c
index e355aab16..b3fdc0cc6 100644
--- a/dirmngr/crlfetch.c
+++ b/dirmngr/crlfetch.c
@@ -73,7 +73,7 @@ register_file_reader (ksba_reader_t reader, struct reader_cb_context_s *cb_ctx)
return;
}
log_info (_("reader to file mapping table full - waiting\n"));
- npth_sleep (2);
+ gnupg_sleep (2);
}
}
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 330983f3f..36ef873c2 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -2321,7 +2321,7 @@ handle_connections (assuan_fd_t listen_fd)
{
log_error (_("npth_pselect failed: %s - waiting 1s\n"),
strerror (saved_errno));
- npth_sleep (1);
+ gnupg_sleep (1);
continue;
}
diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c
index 629c5c277..446e54317 100644
--- a/dirmngr/ldap-wrapper.c
+++ b/dirmngr/ldap-wrapper.c
@@ -329,7 +329,7 @@ ldap_reaper_thread (void *dummy)
" - waiting 1s\n", gpg_strerror (err));
/* Note: Here we unlock and continue! */
unlock_reaper_list ();
- npth_sleep (1);
+ gnupg_sleep (1);
continue;
}
fparraysize = count;
@@ -393,7 +393,7 @@ ldap_reaper_thread (void *dummy)
xfree (fparray);
fparray = NULL;
fparraysize = 0;
- npth_sleep (1);
+ gnupg_sleep (1);
continue;
}
@@ -582,7 +582,7 @@ ldap_wrapper_wait_connections ()
}
unlock_reaper_list ();
while (reaper_list)
- npth_usleep (200);
+ gnupg_usleep (200);
}