From 618afc4231521cfcf74c667c9edf6fdc47b8ffe1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 25 Feb 2009 10:58:56 +0000 Subject: Fixed a nasty bug in scdaemon which led to a card reset if the card was inserted during scdaemon startup and a connection was made before the ticker had a chance to run. Add some stuff for better debugging. --- agent/gpg-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent') diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index d5045d263..90319d22f 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -2065,7 +2065,7 @@ check_own_socket (void) tattr = pth_attr_new(); pth_attr_set (tattr, PTH_ATTR_JOINABLE, 0); pth_attr_set (tattr, PTH_ATTR_STACK_SIZE, 256*1024); - pth_attr_set (tattr, PTH_ATTR_NAME, "check-owb-socket"); + pth_attr_set (tattr, PTH_ATTR_NAME, "check-own-socket"); if (!pth_spawn (tattr, check_own_socket_thread, sockname)) log_error ("error spawning check_own_socket_thread: %s\n", -- cgit v1.2.3