aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-handler.c')
-rw-r--r--src/assuan-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assuan-handler.c b/src/assuan-handler.c
index a9cc2bd..f77d59b 100644
--- a/src/assuan-handler.c
+++ b/src/assuan-handler.c
@@ -864,7 +864,7 @@ assuan_get_data_fp (assuan_context_t ctx)
ctx->outbound.data.error = 0;
return ctx->outbound.data.fp;
#else
- errno = ENOSYS;
+ gpg_err_set_errno (ENOSYS);
return NULL;
#endif
}