aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-13 13:25:05 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-13 13:25:05 +0000
commit35927ed463d637b46ec7f819578dbdf46b44d1f4 (patch)
tree39d22465902f9653c0c1bb348c9d17ee0019d67c /src/namestore/namestore_api.c
parent700adc7f3dd9aa84f52517e091d27a271f3f7e07 (diff)
downloadgnunet-35927ed463d637b46ec7f819578dbdf46b44d1f4.tar.gz
gnunet-35927ed463d637b46ec7f819578dbdf46b44d1f4.zip
-namestore service builds again
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r--src/namestore/namestore_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index acc9b4e37..98148ba1e 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -275,7 +275,9 @@ handle_lookup_block_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
275 block->signature = msg->signature; 275 block->signature = msg->signature;
276 block->derived_key = msg->derived_key; 276 block->derived_key = msg->derived_key;
277 block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN); 277 block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN);
278 block->purpose.size = htonl (size - sizeof (struct LookupBlockResponseMessage) + sizeof (struct GNUNET_TIME_AbsoluteNBO)); 278 block->purpose.size = htonl (size - sizeof (struct LookupBlockResponseMessage) +
279 sizeof (struct GNUNET_TIME_AbsoluteNBO) +
280 sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose));
279 block->expiration_time = msg->expire; 281 block->expiration_time = msg->expire;
280 memcpy (&block[1], 282 memcpy (&block[1],
281 &msg[1], 283 &msg[1],