aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to 'scd')
-rw-r--r--scd/command.c6
-rw-r--r--scd/scdaemon.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/scd/command.c b/scd/command.c
index 0819318e7..6ffc13626 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -1726,9 +1726,9 @@ cmd_lock (assuan_context_t ctx, char *line)
if (rc && has_option (line, "--wait"))
{
rc = 0;
- npth_sleep (1); /* Better implement an event mechanism. However,
- for card operations this should be
- sufficient. */
+ gnupg_sleep (1); /* Better implement an event mechanism. However,
+ for card operations this should be
+ sufficient. */
/* Send a progress so that we can detect a connection loss. */
rc = send_status_printf (ctrl, "PROGRESS", "scd_locked . 0 0");
if (!rc)
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index da1f21d1f..e017b3f12 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -1375,7 +1375,7 @@ handle_connections (int listen_fd)
{
log_error (_("npth_pselect failed: %s - waiting 1s\n"),
strerror (saved_errno));
- npth_sleep (1);
+ gnupg_sleep (1);
continue;
}