From: Schanzenbach, Martin Date: Fri, 12 Jan 2018 12:36:38 +0000 (+0100) Subject: fix reverse lookup from namestore X-Git-Tag: v0.11.0pre66~249^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=88a4bbdd9857746e2ffdd9028b091c2be0bd3fe7;p=oweals%2Fgnunet.git fix reverse lookup from namestore --- 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),