aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_create_update.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-03-05 09:24:50 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-03-05 09:24:50 +0000
commit11d2ca4283ba7f57f06ed250d569f209852f5f4c (patch)
treead05fcf95026cd0172460d88061d17135503b153 /src/namestore/test_namestore_api_create_update.c
parentb2a772525198768d93100aacaf00376ef0d17404 (diff)
downloadgnunet-11d2ca4283ba7f57f06ed250d569f209852f5f4c.tar.gz
gnunet-11d2ca4283ba7f57f06ed250d569f209852f5f4c.zip
- return value
Diffstat (limited to 'src/namestore/test_namestore_api_create_update.c')
-rw-r--r--src/namestore/test_namestore_api_create_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_create_update.c b/src/namestore/test_namestore_api_create_update.c
index 22313aca9..737c64a3d 100644
--- a/src/namestore/test_namestore_api_create_update.c
+++ b/src/namestore/test_namestore_api_create_update.c
@@ -327,7 +327,7 @@ create_updated_cont (void *cls, int32_t success, const char *emsg)
327 res = 0; 327 res = 0;
328 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Updated record for name `%s'\n", name); 328 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Updated record for name `%s'\n", name);
329 } 329 }
330 if (success == GNUNET_OK) 330 else if (success == GNUNET_OK)
331 { 331 {
332 res = 1; 332 res = 1;
333 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "FAIL, Create new record for name `%s'\n", name); 333 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "FAIL, Create new record for name `%s'\n", name);