diff options
author | Marcus Brinkmann <[email protected]> | 2012-01-24 16:37:01 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-01-25 13:50:47 +0000 |
commit | 4074f966276be10a794fd63a7f443b9d974d3982 (patch) | |
tree | e31e737fe07e96b596f8bbbaf16a1e122ac683ae /agent/gpg-agent.c | |
parent | Port Windows code to NPTH. (diff) | |
download | gnupg-4074f966276be10a794fd63a7f443b9d974d3982.tar.gz gnupg-4074f966276be10a794fd63a7f443b9d974d3982.zip |
Port LDAP wrapper to NPTH.
* agent/gpg-agent.c (handle_connections): Handle error.
* dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c: Port to NPTH.
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r-- | agent/gpg-agent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index ed4b17f99..2304b0f2e 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1866,7 +1866,9 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh) #endif ret = npth_attr_init(&tattr); - /* FIXME: Check error. */ + if (ret) + log_fatal ("error allocating thread attributes: %s\n", + gpg_strerror (ret)); npth_attr_setdetachstate (&tattr, NPTH_CREATE_DETACHED); #ifndef HAVE_W32_SYSTEM |