diff options
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c index 38e0cca6..e51ece68 100644 --- a/src/debug.c +++ b/src/debug.c @@ -231,7 +231,7 @@ _gpgme_debug (int level, const char *format, ...) UNLOCK (debug_lock); fflush (errfp); - errno = saved_errno; + gpg_err_set_errno (saved_errno); } |