aboutsummaryrefslogtreecommitdiff
path: root/src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c')
-rw-r--r--src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c b/src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c
index 4bc6558..591a23f 100644
--- a/src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c
+++ b/src/anastasis/anastasis-gtk_handle-auth-edit-provider-clicked.c
@@ -138,9 +138,9 @@ edit_provider_dialog_response_cb (GtkDialog *dialog,
{
json_t *args;
- args = json_pack ("{s:o}",
- "urls",
- urls);
+ args = GNUNET_JSON_PACK (
+ GNUNET_JSON_pack_array_steal ("urls",
+ urls));
AG_freeze ();
AG_ra = ANASTASIS_redux_action (AG_redux_state,
"add_provider",