2005-04-14 Marcus Brinkmann <marcus@g10code.de>
* wait-global.c (gpgme_wait): If no context is found, and we should not hang, set *status to 0 and return NULL. Reported by Igor Belyi <gpgme@katehok.ac93.org>.
This commit is contained in:
parent
719d27dfce
commit
33fee70045
@ -1,3 +1,9 @@
|
||||
2005-04-14 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* wait-global.c (gpgme_wait): If no context is found, and we
|
||||
should not hang, set *status to 0 and return NULL.
|
||||
Reported by Igor Belyi <gpgme@katehok.ac93.org>.
|
||||
|
||||
2005-03-24 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* data.h (EOPNOTSUPP) [_WIN32]: Remove definition.
|
||||
|
@ -350,6 +350,12 @@ gpgme_wait (gpgme_ctx_t ctx, gpgme_error_t *status, int hang)
|
||||
ctx = dctx;
|
||||
hang = 0;
|
||||
}
|
||||
else if (!hang)
|
||||
{
|
||||
ctx = NULL;
|
||||
if (status)
|
||||
*status = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
while (hang);
|
||||
|
Loading…
Reference in New Issue
Block a user