aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-datastore-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-datastore-config.c')
-rw-r--r--src/setup/gnunet-setup-datastore-config.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/setup/gnunet-setup-datastore-config.c b/src/setup/gnunet-setup-datastore-config.c
index 2e41ec4b..ff0ee74d 100644
--- a/src/setup/gnunet-setup-datastore-config.c
+++ b/src/setup/gnunet-setup-datastore-config.c
@@ -45,10 +45,7 @@ duc_dummy (void *cls, int delta)
45static int 45static int
46test_config (const char *name) 46test_config (const char *name)
47{ 47{
48 struct GNUNET_DATASTORE_PluginEnvironment env = { 48 struct GNUNET_DATASTORE_PluginEnvironment env = {cfg, &duc_dummy, NULL};
49 cfg,
50 &duc_dummy, NULL
51 };
52 void *ret; 49 void *ret;
53 50
54 ret = GNUNET_PLUGIN_load (name, &env); 51 ret = GNUNET_PLUGIN_load (name, &env);
@@ -90,7 +87,7 @@ GNUNET_setup_datastore_postgres_invalidate_cb ()
90 87
91 88
92void 89void
93GNUNET_setup_datastore_mysql_tab_test_button_clicked_cb (GtkWidget * widget, 90GNUNET_setup_datastore_mysql_tab_test_button_clicked_cb (GtkWidget *widget,
94 gpointer user_data) 91 gpointer user_data)
95{ 92{
96 if (GNUNET_OK == test_config ("libgnunet_plugin_datastore_mysql")) 93 if (GNUNET_OK == test_config ("libgnunet_plugin_datastore_mysql"))
@@ -107,7 +104,7 @@ GNUNET_setup_datastore_mysql_tab_test_button_clicked_cb (GtkWidget * widget,
107 104
108 105
109void 106void
110GNUNET_setup_datastore_postgres_tab_test_button_clicked_cb (GtkWidget * widget, 107GNUNET_setup_datastore_postgres_tab_test_button_clicked_cb (GtkWidget *widget,
111 gpointer user_data) 108 gpointer user_data)
112{ 109{
113 if (GNUNET_OK == test_config ("libgnunet_plugin_datastore_postgres")) 110 if (GNUNET_OK == test_config ("libgnunet_plugin_datastore_postgres"))
@@ -123,5 +120,4 @@ GNUNET_setup_datastore_postgres_tab_test_button_clicked_cb (GtkWidget * widget,
123} 120}
124 121
125 122
126
127/* end of gnunet-setup-datastore-config.c */ 123/* end of gnunet-setup-datastore-config.c */