gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13982 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r13982 - gnunet/src/testing
Date: Tue, 21 Dec 2010 15:21:16 +0100

Author: nevans
Date: 2010-12-21 15:21:16 +0100 (Tue, 21 Dec 2010)
New Revision: 13982

Modified:
   gnunet/src/testing/testing_group.c
Log:
klocwork fix

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2010-12-21 14:18:48 UTC (rev 13981)
+++ gnunet/src/testing/testing_group.c  2010-12-21 14:21:16 UTC (rev 13982)
@@ -842,10 +842,11 @@
                            "/tmp/test-service-%s-%u", section, ctx->upnum++);
           value = uval;
         }
-      else if (GNUNET_YES ==
+      else if ((GNUNET_YES ==
                GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing",
                                                       per_host_variable,
-                                                      &num_per_host))
+                                                      &num_per_host)) && 
(num_per_host > 0))
+
         {
           GNUNET_snprintf (uval,
                            sizeof (uval),




reply via email to

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