diff options
author | Werner Koch <wk@gnupg.org> | 2012-01-25 12:11:41 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-01-25 14:50:47 +0100 |
commit | a55d2e16f1090264338dc3ad0b2afca28db27c09 (patch) | |
tree | 5afed624d0803f3508f809275358d344d01202f5 /agent/gpg-agent.c | |
parent | Port LDAP wrapper to NPTH. (diff) | |
download | gnupg2-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.c | 7 |
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); |