[git] GnuPG - branch, master, updated. gnupg-2.1.15-86-g56c1840
    by Neal H. Walfield 
    cvs at cvs.gnupg.org
       
    Wed Sep  7 10:07:01 CEST 2016
    
    
  
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  56c18408d4955713d9c4e634367c7912d6564651 (commit)
      from  1f90d3c71e3e48d0c4b7722a607464876bb71794 (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 56c18408d4955713d9c4e634367c7912d6564651
Author: Neal H. Walfield <neal at g10code.com>
Date:   Wed Sep 7 10:06:58 2016 +0200
    g10: Use the correct conversion function.
    
    * g10/tofu.c (show_statistics): Use string_to_ulong, not
    string_to_long.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
    Fixes-commit: 875ac921
diff --git a/g10/tofu.c b/g10/tofu.c
index 2a4fcd7..afecd0c 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -2502,10 +2502,10 @@ show_statistics (tofu_dbs_t dbs, const char *fingerprint,
       log_assert (strlist->next->next);
       log_assert (! strlist->next->next->next);
 
-      string_to_long (&signature_count, strlist->d, -1, __LINE__);
-      string_to_long (&signature_first_seen, strlist->next->d, -1, __LINE__);
-      string_to_long (&signature_most_recent,
-                      strlist->next->next->d, -1, __LINE__);
+      string_to_ulong (&signature_count, strlist->d, -1, __LINE__);
+      string_to_ulong (&signature_first_seen, strlist->next->d, -1, __LINE__);
+      string_to_ulong (&signature_most_recent,
+                       strlist->next->next->d, -1, __LINE__);
 
       free_strlist (strlist);
       strlist = NULL;
@@ -2533,10 +2533,10 @@ show_statistics (tofu_dbs_t dbs, const char *fingerprint,
       log_assert (strlist->next->next);
       log_assert (! strlist->next->next->next);
 
-      string_to_long (&encryption_count, strlist->d, -1, __LINE__);
-      string_to_long (&encryption_first_done, strlist->next->d, -1, __LINE__);
-      string_to_long (&encryption_most_recent,
-                      strlist->next->next->d, -1, __LINE__);
+      string_to_ulong (&encryption_count, strlist->d, -1, __LINE__);
+      string_to_ulong (&encryption_first_done, strlist->next->d, -1, __LINE__);
+      string_to_ulong (&encryption_most_recent,
+                       strlist->next->next->d, -1, __LINE__);
 
       free_strlist (strlist);
       strlist = NULL;
-----------------------------------------------------------------------
Summary of changes:
 g10/tofu.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org
    
    
More information about the Gnupg-commits
mailing list