From 11d2ca4283ba7f57f06ed250d569f209852f5f4c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 5 Mar 2012 09:24:50 +0000 Subject: [PATCH] - return value --- src/namestore/test_namestore_api_create_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) res = 0; GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Updated record for name `%s'\n", name); } - if (success == GNUNET_OK) + else if (success == GNUNET_OK) { res = 1; GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "FAIL, Create new record for name `%s'\n", name); -- 2.25.1