aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-listen.c')
-rw-r--r--src/assuan-listen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan-listen.c b/src/assuan-listen.c
index 3f57922..2f6c8a3 100644
--- a/src/assuan-listen.c
+++ b/src/assuan-listen.c
@@ -138,7 +138,7 @@ assuan_close_input_fd (assuan_context_t ctx)
{
if (!ctx || ctx->input_fd == ASSUAN_INVALID_FD)
return _assuan_error (ctx, GPG_ERR_ASS_INV_VALUE);
- _assuan_close (ctx->input_fd);
+ _assuan_close (ctx, ctx->input_fd);
ctx->input_fd = ASSUAN_INVALID_FD;
return 0;
}
@@ -151,7 +151,7 @@ assuan_close_output_fd (assuan_context_t ctx)
if (!ctx || ctx->output_fd == ASSUAN_INVALID_FD)
return _assuan_error (ctx, GPG_ERR_ASS_INV_VALUE);
- _assuan_close (ctx->output_fd);
+ _assuan_close (ctx, ctx->output_fd);
ctx->output_fd = ASSUAN_INVALID_FD;
return 0;
}