aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-07-04 09:40:19 +0000
committerWerner Koch <[email protected]>2003-07-04 09:40:19 +0000
commit274e121399dd1c69bd69d223c85afc899fc94a95 (patch)
tree9ed6d1cfc416a0592a9835b27dadfd923fc2c94f /agent/gpg-agent.c
parent* app-openpgp.c (do_setattr): Add setting of the URL. (diff)
downloadgnupg-274e121399dd1c69bd69d223c85afc899fc94a95.tar.gz
gnupg-274e121399dd1c69bd69d223c85afc899fc94a95.zip
Minor changes to make make dist work correctly.
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index b8c69fb56..675f2be3f 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1034,7 +1034,11 @@ handle_connections (int listen_fd)
fd = pth_accept_ev (listen_fd, (struct sockaddr *)&paddr, &plen, ev);
if (fd == -1)
{
+#ifdef PTH_STATUS_OCCURRED /* This is Pth 2 */
if (pth_event_status (ev) == PTH_STATUS_OCCURRED)
+#else
+ if (pth_event_occurred (ev))
+#endif
{
handle_signal (signo);
continue;