aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-01-22 15:52:40 +0000
committerWerner Koch <[email protected]>2010-01-22 15:52:40 +0000
commit6403ba9b779a8d4b77a50199f0e3300c0d1a8e0e (patch)
tree967bab642e5a5089e880966e614726118f3aa64d /src/debug.c
parentFix NULL de-reference in debug code. (diff)
downloadlibassuan-6403ba9b779a8d4b77a50199f0e3300c0d1a8e0e.tar.gz
libassuan-6403ba9b779a8d4b77a50199f0e3300c0d1a8e0e.zip
Prepare for a port to WindowsCE.
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 1b654b7..8c286e8 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -60,7 +60,7 @@ _assuan_debug (assuan_context_t ctx, unsigned int cat, const char *format, ...)
return;
ctx->log_cb (ctx, ctx->log_cb_data, cat, msg);
free (msg);
- errno = saved_errno;
+ gpg_err_set_errno (saved_errno);
}