diff options
| author | Marcus Brinkmann <[email protected]> | 2003-01-29 16:10:35 +0000 |
|---|---|---|
| committer | Marcus Brinkmann <[email protected]> | 2003-01-29 16:10:35 +0000 |
| commit | 6912c46a77d2aa1274aeef028d8e98bd917b64dc (patch) | |
| tree | 8e537b11f0a4188d2da3861639695ea083ad6328 /gpgme/edit.c | |
| parent | Add some items, remove obsolete item about pipemode. (diff) | |
| download | gpgme-6912c46a77d2aa1274aeef028d8e98bd917b64dc.tar.gz gpgme-6912c46a77d2aa1274aeef028d8e98bd917b64dc.zip | |
2003-01-29 Marcus Brinkmann <[email protected]>
* util.h (mk_error): Remove macro.
* conversion.c, data.c, data-compat.c, decrypt.c, delete.c,
edit.c, encrypt.c, encrypt-sign.c, engine.c, engine-gpgsm.c,
export.c, genkey.c, gpgme.c, import.c, key.c, keylist.c,
passphrase.c, progress.c, recipient.c, rungpg.c, sign.c,
signers.c, trustlist.c, verify.c, wait.c, wait-global.c,
wait-private (literally everywhere): Expand the mk_error macro.
Diffstat (limited to 'gpgme/edit.c')
| -rw-r--r-- | gpgme/edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpgme/edit.c b/gpgme/edit.c index 219e657e..d713cab6 100644 --- a/gpgme/edit.c +++ b/gpgme/edit.c @@ -83,7 +83,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous, GpgmeError err = 0; if (!fnc) - return mk_error (Invalid_Value); + return GPGME_Invalid_Value; err = _gpgme_op_reset (ctx, synchronous); if (err) @@ -93,7 +93,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous, ctx->result.edit = malloc (sizeof *ctx->result.edit); if (!ctx->result.edit) { - err = mk_error (Out_Of_Core); + err = GPGME_Out_Of_Core; goto leave; } ctx->result.edit->fnc = fnc; @@ -102,7 +102,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous, /* Check the supplied data. */ if (!out) { - err = mk_error (Invalid_Value); + err = GPGME_Invalid_Value; goto leave; } |
