From 88a4bbdd9857746e2ffdd9028b091c2be0bd3fe7 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 12 Jan 2018 13:36:38 +0100 Subject: [PATCH] fix reverse lookup from namestore --- src/namestore/plugin_namestore_sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 5c3533506..eb2378ed4 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c @@ -466,7 +466,7 @@ namestore_sqlite_store_records (void *cls, uint32_t rd_count32 = (uint32_t) rd_count; struct GNUNET_SQ_QueryParam sparams[] = { GNUNET_SQ_query_param_auto_from_type (zone_key), - GNUNET_SQ_query_param_auto_from_type (&rvalue), + GNUNET_SQ_query_param_auto_from_type (&pkey), GNUNET_SQ_query_param_uint64 (&rvalue), GNUNET_SQ_query_param_uint32 (&rd_count32), GNUNET_SQ_query_param_fixed_size (data, data_size), -- 2.25.1