[git] GPGME - branch, master, updated. gpgme-1.3.2-4-g434735f

by Marcus Brinkmann cvs at cvs.gnupg.org
Sat Jul 28 02:33:06 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  434735f71e6969248651ac01c6bd6f6789a6305d (commit)
      from  e7aeaebb01395b170c91f290bf3ff5021023420f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 434735f71e6969248651ac01c6bd6f6789a6305d
Author: Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de>
Date:   Sat Jul 28 01:17:03 2012 +0200

    Allow null context on gpgme_set_locale.
    
    * gpgme.c (gpgme_set_locale): Allow CTX to be a null pointer.

diff --git a/src/gpgme.c b/src/gpgme.c
index c8e6a8b..927b2a0 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -639,9 +639,6 @@ gpgme_set_locale (gpgme_ctx_t ctx, int category, const char *value)
   TRACE_BEG2 (DEBUG_CTX, "gpgme_set_locale", ctx,
 	       "category=%i, value=%s", category, value ? value : "(null)");
 
-  if (!ctx)
-    return TRACE_ERR (gpg_error (GPG_ERR_INV_VALUE));
-
 #define PREPARE_ONE_LOCALE(lcat, ucat)				\
   if (!failed && value						\
       && (category == LC_ALL || category == LC_ ## ucat))	\

-----------------------------------------------------------------------

Summary of changes:
 src/gpgme.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list