aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_select_accounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_select_accounts.c')
-rw-r--r--src/backenddb/pg_select_accounts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/pg_select_accounts.c b/src/backenddb/pg_select_accounts.c
index 672db926..006e23ba 100644
--- a/src/backenddb/pg_select_accounts.c
+++ b/src/backenddb/pg_select_accounts.c
@@ -71,7 +71,7 @@ select_account_cb (void *cls,
for (unsigned int i = 0; i < num_results; i++)
{
- char *payto;
+ struct TALER_FullPayto payto;
char *instance_id;
char *facade_url = NULL;
json_t *credential = NULL;
@@ -84,7 +84,7 @@ select_account_cb (void *cls,
GNUNET_PQ_result_spec_auto_from_type ("salt",
&acc.salt),
GNUNET_PQ_result_spec_string ("payto_uri",
- &payto),
+ &payto.full_payto),
GNUNET_PQ_result_spec_string ("merchant_id",
&instance_id),
GNUNET_PQ_result_spec_allow_null (