gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20267 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r20267 - gnunet/src/namestore
Date: Mon, 5 Mar 2012 10:24:50 +0100

Author: wachs
Date: 2012-03-05 10:24:50 +0100 (Mon, 05 Mar 2012)
New Revision: 20267

Modified:
   gnunet/src/namestore/test_namestore_api_create_update.c
Log:
- return value


Modified: gnunet/src/namestore/test_namestore_api_create_update.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_create_update.c     2012-03-05 
09:09:52 UTC (rev 20266)
+++ gnunet/src/namestore/test_namestore_api_create_update.c     2012-03-05 
09:24:50 UTC (rev 20267)
@@ -327,7 +327,7 @@
     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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]