aboutsummaryrefslogtreecommitdiff
path: root/src/anastasis/anastasis-gtk_handle-challenge-code.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anastasis/anastasis-gtk_handle-challenge-code.c')
-rw-r--r--src/anastasis/anastasis-gtk_handle-challenge-code.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anastasis/anastasis-gtk_handle-challenge-code.c b/src/anastasis/anastasis-gtk_handle-challenge-code.c
index 046e29e..7a993da 100644
--- a/src/anastasis/anastasis-gtk_handle-challenge-code.c
+++ b/src/anastasis/anastasis-gtk_handle-challenge-code.c
@@ -76,9 +76,9 @@ anastasis_gtk_c_code_dialog_response_cb (GtkDialog *dialog,
GNUNET_break (0);
return;
}
- args = json_pack ("{s:I}",
- "pin",
- (json_int_t) pin);
+ args = GNUNET_JSON_PACK (
+ GNUNET_JSON_pack_uint64 ("pin",
+ pin));
gtk_widget_destroy (GTK_WIDGET (dialog));
g_object_unref (G_OBJECT (builder));
AG_freeze ();