Fix last change.

This commit is contained in:
Marcus Brinkmann 2003-10-06 19:22:21 +00:00
parent ccb90f4e4d
commit b8f831b7a0

View File

@ -153,7 +153,7 @@ static gpgme_error_t
map_assuan_error (AssuanError err) map_assuan_error (AssuanError err)
{ {
if (err == -1) if (err == -1)
return gpg_error (GPG_ERR_GENERAL); return gpg_error (GPG_ERR_INV_ENGINE);
/* New code will use gpg_error_t values. */ /* New code will use gpg_error_t values. */
if (gpg_err_source (err)) if (gpg_err_source (err))