summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2016-11-04 01:06:19 +0100
committertg(x) <*@tg-x.net>2016-11-04 01:06:19 +0100
commitf113c1ebd6f98d4aa4c8c5eb6ab7e08b11c17a27 (patch)
tree4b1fb7098be1881f44f3407d7314d553f7cad01a
parent160bff40d4107eed05d866fb8b917ae5919b575b (diff)
downloadexchange-f113c1ebd6f98d4aa4c8c5eb6ab7e08b11c17a27.tar.gz
exchange-f113c1ebd6f98d4aa4c8c5eb6ab7e08b11c17a27.tar.bz2
exchange-f113c1ebd6f98d4aa4c8c5eb6ab7e08b11c17a27.zip
auditordb postgres plugin: set master_pub in result
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index e2208d8ab..fa3a6d465 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -1246,7 +1246,7 @@ postgres_select_denomination_info (void *cls,
}
for (int i = 0; i < nrows; i++)
{
- struct TALER_DenominationKeyValidityPS issue = { 0 };
+ struct TALER_DenominationKeyValidityPS issue = { .master = *master_pub };
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_auto_from_type ("denom_pub_hash", &issue.denom_hash),