aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/wait-global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/wait-global.c b/gpgme/wait-global.c
index 7de72f75..24d75507 100644
--- a/gpgme/wait-global.c
+++ b/gpgme/wait-global.c
@@ -354,7 +354,7 @@ gpgme_wait (gpgme_ctx_t ctx, gpgme_error_t *status, int hang)
{
ctx = NULL;
if (status)
- *status = NULL;
+ *status = 0;
}
}
}