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; } } }