aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-pipe-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-pipe-server.c')
-rw-r--r--src/assuan-pipe-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assuan-pipe-server.c b/src/assuan-pipe-server.c
index b0e7c7b..1ad85dc 100644
--- a/src/assuan-pipe-server.c
+++ b/src/assuan-pipe-server.c
@@ -66,7 +66,7 @@ _assuan_new_context (ASSUAN_CONTEXT *r_ctx)
*r_ctx = NULL;
ctx = xtrycalloc (1, sizeof *ctx);
if (!ctx)
- return ASSUAN_Out_Of_Core;
+ return _assuan_error (ASSUAN_Out_Of_Core);
ctx->input_fd = -1;
ctx->output_fd = -1;