gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r25631 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r25631 - gnunet/src/datastore
Date: Fri, 21 Dec 2012 16:24:03 +0100

Author: grothoff
Date: 2012-12-21 16:24:03 +0100 (Fri, 21 Dec 2012)
New Revision: 25631

Modified:
   gnunet/src/datastore/Makefile.am
   gnunet/src/datastore/perf_plugin_datastore.c
Log:
-fix

Modified: gnunet/src/datastore/Makefile.am
===================================================================
--- gnunet/src/datastore/Makefile.am    2012-12-21 15:12:58 UTC (rev 25630)
+++ gnunet/src/datastore/Makefile.am    2012-12-21 15:24:03 UTC (rev 25631)
@@ -295,10 +295,13 @@
  test_defaults.conf \
  test_datastore_api_data_sqlite.conf \
  perf_plugin_datastore_data_sqlite.conf \
+ test_plugin_datastore_data_sqlite.conf \
+ test_datastore_api_data_heap.conf \
+ perf_plugin_datastore_data_heap.conf \
+ test_plugin_datastore_data_heap.conf \
  test_datastore_api_data_mysql.conf \
  perf_plugin_datastore_data_mysql.conf \
+ test_plugin_datastore_data_mysql.conf \
  test_datastore_api_data_postgres.conf \
  perf_plugin_datastore_data_postgres.conf \
- test_plugin_datastore_data_mysql.conf \
  test_plugin_datastore_data_postgres.conf \
- test_plugin_datastore_data_sqlite.conf

Modified: gnunet/src/datastore/perf_plugin_datastore.c
===================================================================
--- gnunet/src/datastore/perf_plugin_datastore.c        2012-12-21 15:12:58 UTC 
(rev 25630)
+++ gnunet/src/datastore/perf_plugin_datastore.c        2012-12-21 15:24:03 UTC 
(rev 25631)
@@ -436,6 +436,11 @@
   struct GNUNET_DATASTORE_PluginFunctions *api;
   struct CpsRunContext *crc;
 
+  if (NULL == c)
+  {
+    GNUNET_break (0);
+    return;
+  }
   api = load_plugin (c);
   if (api == NULL)
   {




reply via email to

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