aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-11-28 08:10:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-11-28 08:10:19 +0000
commit55942930db8ad9c07d1ee5878bdb414495743c7f (patch)
treea729b931ac0af2fd2c5fd981866372cd66d9e04a /src/namestore/namestore_api.c
parent2e785bfc13a5e12559c1ceec0879891ce9601fe7 (diff)
downloadgnunet-55942930db8ad9c07d1ee5878bdb414495743c7f.tar.gz
gnunet-55942930db8ad9c07d1ee5878bdb414495743c7f.zip
- Tests did not clean up: TEST_HOME with namestore db was not removed after test
Therefore test_namestore_api_remove_not_existing_record passed when executed on a clean system, but failed if ran after a previous test adding a record - remove unused file namestore/test_namestore_api_put.c
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r--src/namestore/namestore_api.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 034352bd9..a700f3c03 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -266,8 +266,9 @@ handle_record_store_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
266 const char *emsg; 266 const char *emsg;
267 267
268 LOG (GNUNET_ERROR_TYPE_DEBUG, 268 LOG (GNUNET_ERROR_TYPE_DEBUG,
269 "Received `%s'\n", 269 "Received `%s' with result %i\n",
270 "RECORD_STORE_RESPONSE"); 270 "RECORD_STORE_RESPONSE",
271 ntohl (msg->op_result));
271 /* TODO: add actual error message from namestore to response... */ 272 /* TODO: add actual error message from namestore to response... */
272 res = ntohl (msg->op_result); 273 res = ntohl (msg->op_result);
273 if (GNUNET_SYSERR == res) 274 if (GNUNET_SYSERR == res)