summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-14 14:12:17 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-14 14:12:17 +0200
commit22c825f0fe99129c7d94792c4d450cd22ef5c414 (patch)
tree5aa29ae52c986d57f6c9755d3ea4ed6b57677e48 /src/pq
parent057ef6da30f0397a066d36285ff2ff3b3f0ccbd5 (diff)
downloadexchange-22c825f0fe99129c7d94792c4d450cd22ef5c414.tar.gz
exchange-22c825f0fe99129c7d94792c4d450cd22ef5c414.tar.bz2
exchange-22c825f0fe99129c7d94792c4d450cd22ef5c414.zip
fix ftbfs of test
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/test_pq.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index 2d56e11e..260323ef 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -114,21 +114,21 @@ run_queries (PGconn *conn)
TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (abs_time),
TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (forever),
TALER_PQ_QUERY_PARAM_PTR (&hc),
- TALER_PQ_QUERY_PARAM_AMOUNT (hamount),
- TALER_PQ_QUERY_PARAM_AMOUNT_NBO (namount),
+ TALER_PQ_QUERY_PARAM_AMOUNT (&hamount),
+ TALER_PQ_QUERY_PARAM_AMOUNT_NBO (&namount),
TALER_PQ_QUERY_PARAM_END
};
struct TALER_PQ_QueryParam params_select[] = {
TALER_PQ_QUERY_PARAM_END
};
struct TALER_PQ_ResultSpec results_select[] = {
- TALER_PQ_RESULT_SPEC_RSA_PUBLIC_KEY ("pub", pub2),
- TALER_PQ_RESULT_SPEC_RSA_SIGNATURE ("sig", sig2),
- TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("abs_time", abs_time2),
- TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("forever", forever2),
+ TALER_PQ_RESULT_SPEC_RSA_PUBLIC_KEY ("pub", &pub2),
+ TALER_PQ_RESULT_SPEC_RSA_SIGNATURE ("sig", &sig2),
+ TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("abs_time", &abs_time2),
+ TALER_PQ_RESULT_SPEC_ABSOLUTE_TIME ("forever", &forever2),
TALER_PQ_RESULT_SPEC ("hash", &hc2),
- TALER_PQ_RESULT_SPEC_AMOUNT ("hamount", hamount2),
- TALER_PQ_RESULT_SPEC_AMOUNT_NBO ("namount", namount2),
+ TALER_PQ_RESULT_SPEC_AMOUNT ("hamount", &hamount2),
+ TALER_PQ_RESULT_SPEC_AMOUNT_NBO ("namount", &namount2),
TALER_PQ_RESULT_SPEC_END
};
PGresult *result;