aboutsummaryrefslogtreecommitdiffstats
path: root/src/wait.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-10-14 10:30:31 +0000
committerWerner Koch <[email protected]>2025-10-14 10:30:31 +0000
commit1ff1aa188240fb10fb13ab51c38836f973e08857 (patch)
treedfd2d557fbd7a74d7cd0fc3bc51db118b88b2f92 /src/wait.c
parentbuild: Avoid using -o for test(1). (diff)
downloadgpgme-1ff1aa188240fb10fb13ab51c38836f973e08857.tar.gz
gpgme-1ff1aa188240fb10fb13ab51c38836f973e08857.zip
Slight changes to comments and trace output.HEADmaster
--
Diffstat (limited to 'src/wait.c')
-rw-r--r--src/wait.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wait.c b/src/wait.c
index c76f98f9..33617b66 100644
--- a/src/wait.c
+++ b/src/wait.c
@@ -199,7 +199,8 @@ _gpgme_run_io_cb (struct io_select_fd_s *an_fds, int checked,
TRACE (DEBUG_CTX, "_gpgme_run_io_cb", item, "need to check");
fds = *an_fds;
- fds.signaled = 0;
+ fds.signaled = 0; /* Clear the signal because we already know
+ * about it and are running the callback. */
/* Just give it a quick poll. */
nr = _gpgme_io_select (&fds, 1, 1);
assert (nr <= 1);