aboutsummaryrefslogtreecommitdiff
path: root/src/anastasis/anastasis-gtk_pe-edit-policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anastasis/anastasis-gtk_pe-edit-policy.c')
-rw-r--r--src/anastasis/anastasis-gtk_pe-edit-policy.c11
1 files changed, 11 insertions, 0 deletions
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,
278 size_t index; 278 size_t index;
279 json_t *method; 279 json_t *method;
280 280
281 const char *status;
282
283 status = json_string_value (json_object_get (ap,
284 "status"));
285
286 if (0 != strcasecmp (status,
287 "ok"))
288 {
289 return false;
290 }
291
281 methods = json_object_get (ap, 292 methods = json_object_get (ap,
282 "methods"); 293 "methods");
283 GNUNET_break (NULL != methods); 294 GNUNET_break (NULL != methods);