aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_plugin_datastore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-12-21 15:24:03 +0000
committerChristian Grothoff <christian@grothoff.org>2012-12-21 15:24:03 +0000
commit06f58907c34309aaf911d5085b0fc2e3badb0cbc (patch)
tree372e6d96b790a5306e04104ea95fbc2210922659 /src/datastore/perf_plugin_datastore.c
parent33a5d276ff045e45d05264a0c17a545ecd277548 (diff)
downloadgnunet-06f58907c34309aaf911d5085b0fc2e3badb0cbc.tar.gz
gnunet-06f58907c34309aaf911d5085b0fc2e3badb0cbc.zip
-fix
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r--src/datastore/perf_plugin_datastore.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c
index bf15d961e..56e2b871c 100644
--- a/src/datastore/perf_plugin_datastore.c
+++ b/src/datastore/perf_plugin_datastore.c
@@ -436,6 +436,11 @@ run (void *cls, char *const *args, const char *cfgfile,
436 struct GNUNET_DATASTORE_PluginFunctions *api; 436 struct GNUNET_DATASTORE_PluginFunctions *api;
437 struct CpsRunContext *crc; 437 struct CpsRunContext *crc;
438 438
439 if (NULL == c)
440 {
441 GNUNET_break (0);
442 return;
443 }
439 api = load_plugin (c); 444 api = load_plugin (c);
440 if (api == NULL) 445 if (api == NULL)
441 { 446 {