aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-04 07:43:50 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-04 07:43:50 +0000
commitb5131d91c2abf066d1725f95e043d014150c7b5d (patch)
tree49dee9730c63006ac267a35e2cad27cf0290c77a /src/namestore
parent900b48c3aa80d693fd79b6ef9a3dce323ac61a57 (diff)
downloadgnunet-b5131d91c2abf066d1725f95e043d014150c7b5d.tar.gz
gnunet-b5131d91c2abf066d1725f95e043d014150c7b5d.zip
-initialize flags
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/test_namestore_api_store_update.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_store_update.c b/src/namestore/test_namestore_api_store_update.c
index 918b17021..1a08635ed 100644
--- a/src/namestore/test_namestore_api_store_update.c
+++ b/src/namestore/test_namestore_api_store_update.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 (C) 2012 Christian Grothoff (and other contributing authors) 3 (C) 2012, 2013 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -131,6 +131,7 @@ rd_decrypt_cb (void *cls,
131 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 131 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
132 "Block was decrypted successfully, updating record \n"); 132 "Block was decrypted successfully, updating record \n");
133 133
134 rd_new.flags = GNUNET_NAMESTORE_RF_NONE;
134 rd_new.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; 135 rd_new.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;
135 rd_new.record_type = TEST_RECORD_TYPE2; 136 rd_new.record_type = TEST_RECORD_TYPE2;
136 rd_new.data_size = TEST_RECORD_DATALEN2; 137 rd_new.data_size = TEST_RECORD_DATALEN2;
@@ -229,7 +230,7 @@ run (void *cls,
229 GNUNET_assert (privkey != NULL); 230 GNUNET_assert (privkey != NULL);
230 GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); 231 GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey);
231 232
232 233 rd.flags = GNUNET_NAMESTORE_RF_NONE;
233 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; 234 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;
234 rd.record_type = TEST_RECORD_TYPE; 235 rd.record_type = TEST_RECORD_TYPE;
235 rd.data_size = TEST_RECORD_DATALEN; 236 rd.data_size = TEST_RECORD_DATALEN;