aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/rungpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/rungpg.c')
-rw-r--r--gpgme/rungpg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpgme/rungpg.c b/gpgme/rungpg.c
index d6fd8fe1..91fc1adf 100644
--- a/gpgme/rungpg.c
+++ b/gpgme/rungpg.c
@@ -141,7 +141,7 @@ gpg_io_event (void *engine, gpgme_event_io_t type, void *type_data)
}
-static void
+static int
close_notify_handler (int fd, void *opaque)
{
engine_gpg_t gpg = opaque;
@@ -183,6 +183,7 @@ close_notify_handler (int fd, void *opaque)
}
}
}
+ return 1;
}
/* If FRONT is true, push at the front of the list. Use this for