gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-gtk] branch master updated: add forgotten argument


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: add forgotten argument
Date: Sun, 28 Mar 2021 21:31:06 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new e78686e  add forgotten argument
e78686e is described below

commit e78686e27f79e34040c201bd034b06fe0fbb5ad1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 28 21:31:04 2021 +0200

    add forgotten argument
---
 src/anastasis/anastasis-gtk_handle-challenge-code.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_handle-challenge-code.c 
b/src/anastasis/anastasis-gtk_handle-challenge-code.c
index 1a74968..5bf8dcb 100644
--- a/src/anastasis/anastasis-gtk_handle-challenge-code.c
+++ b/src/anastasis/anastasis-gtk_handle-challenge-code.c
@@ -66,7 +66,7 @@ anastasis_gtk_c_code_dialog_response_cb (GtkDialog *dialog,
                                          "anastasis_gtk_c_code_entry"));
   qs = gtk_entry_get_text (q);
   if ( (NULL != qs) &&
-       (0 == strncasecmp ("a-", qs)) )
+       (0 == strncasecmp ("a-", qs, 2)) )
     qs += 2; /* skip "A-" prefix if present */
   if (1 != sscanf (qs,
                    "%llu%c",
@@ -106,7 +106,7 @@ anastasis_gtk_c_code_dialog_answer_entry_changed_cb 
(GtkEntry *entry,
                                          "anastasis_gtk_c_code_entry"));
   as = gtk_entry_get_text (a);
   if ( (NULL != as) &&
-       (0 == strncasecmp ("a-", as)) )
+       (0 == strncasecmp ("a-", as, 2)) )
     as += 2; /* skip "A-" prefix if present */
   ok = ( (NULL != as) &&
          (1 == sscanf (as,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]