gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r19792 - gnunet/src/testing
Date: Mon, 13 Feb 2012 17:14:14 +0100

Author: bartpolot
Date: 2012-02-13 17:14:14 +0100 (Mon, 13 Feb 2012)
New Revision: 19792

Modified:
   gnunet/src/testing/gnunet-testing.c
Log:
- fix coverity

Modified: gnunet/src/testing/gnunet-testing.c
===================================================================
--- gnunet/src/testing/gnunet-testing.c 2012-02-13 16:02:44 UTC (rev 19791)
+++ gnunet/src/testing/gnunet-testing.c 2012-02-13 16:14:14 UTC (rev 19792)
@@ -77,8 +77,11 @@
     return 1;
   }
   /* load defaults */
-  else
-    GNUNET_CONFIGURATION_load(cfg_tmpl,  NULL);
+  else if (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl,  NULL))
+  {
+    GNUNET_break (0);
+    return 1;
+  }
 
   if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, 
"PATHS", "SERVICEHOME", &service_home))
   {




reply via email to

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