aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-01-25 13:44:34 +0000
committerWerner Koch <[email protected]>2012-01-25 13:44:34 +0000
commitd97492064c20953b4e401f5c14e1a93108b4e8e3 (patch)
treed523d4be249b17bfbc0de9de1f56a1bd9968baca
parentAdd missing variable. (diff)
downloadgnupg-npth-2.tar.gz
gnupg-npth-2.zip
Re-indent overlong lines.npth-2
--
-rw-r--r--agent/gpg-agent.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 155fe730f..537f5266c 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1934,7 +1934,8 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
npth_timersub (&abstime, &curtime, &timeout);
#ifndef HAVE_W32_SYSTEM
- ret = npth_pselect (nfd+1, &read_fdset, NULL, NULL, &timeout, npth_sigev_sigmask());
+ ret = npth_pselect (nfd+1, &read_fdset, NULL, NULL, &timeout,
+ npth_sigev_sigmask ());
saved_errno = errno;
{
@@ -1944,7 +1945,8 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
}
#else
events_set = 0;
- ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, &timeout, events, &events_set);
+ ret = npth_eselect (nfd+1, &read_fdset, NULL, NULL, &timeout,
+ events, &events_set);
saved_errno = errno;
/* This is valid even if npth_eselect returns an error. */
@@ -1993,7 +1995,8 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
npth_t thread;
ctrl->thread_startup.fd = fd;
- ret = npth_create (&thread, &tattr, start_connection_thread, ctrl);
+ ret = npth_create (&thread, &tattr,
+ start_connection_thread, ctrl);
if (ret)
{
log_error ("error spawning connection handler: %s\n",
@@ -2037,7 +2040,8 @@ handle_connections (gnupg_fd_t listen_fd, gnupg_fd_t listen_fd_ssh)
agent_init_default_ctrl (ctrl);
ctrl->thread_startup.fd = fd;
- ret = npth_create (&thread, &tattr, start_connection_thread_ssh, ctrl);
+ ret = npth_create (&thread, &tattr,
+ start_connection_thread_ssh, ctrl);
if (ret)
{
log_error ("error spawning ssh connection handler: %s\n",