From 3029f454e32c251b357331c025769559e1e5d643 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 9 Jun 2010 13:14:44 +0000 Subject: [PATCH] 2010-06-09 Marcus Brinkmann * genkey.c (gpgme_op_genkey): Return err with TRACE_ERR. --- src/ChangeLog | 4 ++++ src/genkey.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e55ab965..0843a939 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-09 Marcus Brinkmann + + * genkey.c (gpgme_op_genkey): Return err with TRACE_ERR. + 2010-05-12 Marcus Brinkmann * conversion.c (_gpgme_timegm) [HAVE_W32_SYSTEM]: New static diff --git a/src/genkey.c b/src/genkey.c index aaf3e200..a85e6278 100644 --- a/src/genkey.c +++ b/src/genkey.c @@ -223,5 +223,5 @@ gpgme_op_genkey (gpgme_ctx_t ctx, const char *parms, gpgme_data_t pubkey, err = genkey_start (ctx, 1, parms, pubkey, seckey); if (!err) err = _gpgme_wait_one (ctx); - return err; + return TRACE_ERR (err); }