diff options
author | Werner Koch <[email protected]> | 2012-01-25 11:11:41 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-01-25 13:42:39 +0000 |
commit | 4ee5b5c91e23f6e022385b13477ed1db36c364fb (patch) | |
tree | 5cd7b9f8e7232253a27ab28712ba7310e8ba62ba | |
parent | Require gitlog-to-changelog to be installed. (diff) | |
download | gnupg-4ee5b5c91e23f6e022385b13477ed1db36c364fb.tar.gz gnupg-4ee5b5c91e23f6e022385b13477ed1db36c364fb.zip |
Add missing variable.
* agent/gpg-agent.c (handle_connections) [!W32]: Add missing variable.
-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 9bd0c467a..155fe730f 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1937,8 +1937,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); |