diff options
Diffstat (limited to 'src/assuan-logging.c')
-rw-r--r-- | src/assuan-logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assuan-logging.c b/src/assuan-logging.c index 5d9d488..13af63a 100644 --- a/src/assuan-logging.c +++ b/src/assuan-logging.c @@ -137,7 +137,7 @@ _assuan_log_handler (assuan_context_t ctx, void *hook, unsigned int cat, with a LF. */ if (msg && *msg && msg[strlen (msg) - 1] == '\n') fflush (fp); - errno = saved_errno; + gpg_err_set_errno (saved_errno); return 0; } |