[git] GnuPG - branch, master, updated. gnupg-2.1.8-54-ga9895a5

by NIIBE Yutaka cvs at cvs.gnupg.org
Thu Oct 1 01:58:31 CEST 2015


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 "The GNU Privacy Guard".

The branch, master has been updated
       via  a9895a5a72a851c5fcc70f16d5f8f588cc885751 (commit)
      from  c8584a1e559bc720412e1a2fc546a54ff4517205 (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 a9895a5a72a851c5fcc70f16d5f8f588cc885751
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Thu Oct 1 08:57:06 2015 +0900

    common: Fix strsplit.
    
    * common/stringhelp.c (strsplit): Fix arguments order.

diff --git a/common/stringhelp.c b/common/stringhelp.c
index 576c2ea..38c3832 100644
--- a/common/stringhelp.c
+++ b/common/stringhelp.c
@@ -1230,7 +1230,7 @@ strsplit (char *string, char delim, char replacement, int *count)
   for (t = strchr (string, delim); t; t = strchr (t + 1, delim))
     fields ++;
 
-  result = xtrycalloc (sizeof (*result), (fields + 1));
+  result = xtrycalloc ((fields + 1), sizeof (*result));
   if (! result)
     return NULL;
 

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

Summary of changes:
 common/stringhelp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list