diff options
Diffstat (limited to 'src/anastasis/anastasis-gtk_pe-delete-challenge.c')
-rw-r--r-- | src/anastasis/anastasis-gtk_pe-delete-challenge.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/anastasis/anastasis-gtk_pe-delete-challenge.c b/src/anastasis/anastasis-gtk_pe-delete-challenge.c index d41c983..3f2c39d 100644 --- a/src/anastasis/anastasis-gtk_pe-delete-challenge.c +++ b/src/anastasis/anastasis-gtk_pe-delete-challenge.c | |||
@@ -36,15 +36,15 @@ AG_delete_challenge (guint pindex, | |||
36 | { | 36 | { |
37 | json_t *args; | 37 | json_t *args; |
38 | 38 | ||
39 | args = json_pack ("{s:I, s:I}", | 39 | args = GNUNET_JSON_PACK ( |
40 | "policy_index", | 40 | GNUNET_JSON_pack_uint64 ("policy_index", |
41 | (json_int_t) pindex, | 41 | pindex), |
42 | "challenge_index", | 42 | GNUNET_JSON_pack_uint64 ("challenge_index", |
43 | (json_int_t) mindex); | 43 | mindex)); |
44 | AG_ra = ANASTASIS_redux_action (AG_redux_state, | 44 | AG_ra = ANASTASIS_redux_action (AG_redux_state, |
45 | "delete_challenge", | 45 | "delete_challenge", |
46 | args, | 46 | args, |
47 | &AG_action_cb, | 47 | &AG_action_cb, |
48 | NULL); | 48 | NULL); |
49 | json_decref (args); | 49 | json_decref (args); |
50 | } | 50 | } |