gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis-gtk] branch master updated: fix: clicking into a policy


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: fix: clicking into a policy to edit crash the app
Date: Tue, 28 Jun 2022 16:45:05 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new f9121a1  fix: clicking into a policy to edit crash the app
f9121a1 is described below

commit f9121a10a59923d02e2b6a6e64299159599ef5e5
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Jun 28 11:42:09 2022 -0300

    fix: clicking into a policy to edit crash the app
---
 src/anastasis/anastasis-gtk_pe-edit-policy.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/anastasis/anastasis-gtk_pe-edit-policy.c 
b/src/anastasis/anastasis-gtk_pe-edit-policy.c
index 6803cc2..eece3ee 100644
--- a/src/anastasis/anastasis-gtk_pe-edit-policy.c
+++ b/src/anastasis/anastasis-gtk_pe-edit-policy.c
@@ -278,6 +278,17 @@ ap_matches (const char *type,
   size_t index;
   json_t *method;
 
+  const char *status;
+
+  status = json_string_value (json_object_get (ap,
+                                              "status"));
+
+  if (0 != strcasecmp (status,
+                       "ok"))
+  {
+    return false;
+  }
+  
   methods = json_object_get (ap,
                              "methods");
   GNUNET_break (NULL != methods);

-- 
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]