diff options
Diffstat (limited to 'kbx/keyboxd.c')
-rw-r--r-- | kbx/keyboxd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c index 197f01c74..28e292e10 100644 --- a/kbx/keyboxd.c +++ b/kbx/keyboxd.c @@ -1448,8 +1448,9 @@ start_connection_thread (void *arg) if (check_nonce (ctrl, &socket_nonce)) { - log_error ("handler 0x%lx nonce check FAILED\n", - (unsigned long) npth_self()); + log_error ("handler 0x%lx for fd %d FAILED nonce check\n", + (unsigned long) npth_self(), FD_DBG (ctrl->thread_startup.fd)); + assuan_sock_close (ctrl->thread_startup.fd); return NULL; } |