From: Matthias Wachs Date: Mon, 5 Mar 2012 09:24:50 +0000 (+0000) Subject: - return value X-Git-Tag: initial-import-from-subversion-38251~14437 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=11d2ca4283ba7f57f06ed250d569f209852f5f4c;p=oweals%2Fgnunet.git - return value --- 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);