summaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-01-25 12:11:41 +0100
committerWerner Koch <wk@gnupg.org>2012-01-25 14:50:47 +0100
commita55d2e16f1090264338dc3ad0b2afca28db27c09 (patch)
tree5afed624d0803f3508f809275358d344d01202f5 /agent/gpg-agent.c
parentPort LDAP wrapper to NPTH. (diff)
downloadgnupg2-a55d2e16f1090264338dc3ad0b2afca28db27c09.tar.xz
gnupg2-a55d2e16f1090264338dc3ad0b2afca28db27c09.zip
Add missing variable.
* agent/gpg-agent.c (handle_connections) [!W32]: Add missing variable.
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 2304b0f2e..3c6686620 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1938,8 +1938,11 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
ret = npth_pselect (nfd+1, &read_fdset, NULL, NULL, &timeout, npth_sigev_sigmask());
saved_errno = errno;
- while (npth_sigev_get_pending(&signo))
- handle_signal (signo);
+ {
+ int signo;
+ while (npth_sigev_get_pending (&signo))
+ handle_signal (signo);
+ }
#else
events_set = 0;
ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, &timeout, events, &events_set);