aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index fa96ea9b7..daf6cccb3 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -635,7 +635,7 @@ duc_dummy (void *cls,
635 635
636 636
637/** 637/**
638 * check if plugin is actually working 638 * check if plugin is actually working
639 */ 639 */
640static int 640static int
641test_plugin (const char *cfg_name) 641test_plugin (const char *cfg_name)
@@ -644,7 +644,7 @@ test_plugin (const char *cfg_name)
644 struct GNUNET_CONFIGURATION_Handle *cfg; 644 struct GNUNET_CONFIGURATION_Handle *cfg;
645 struct GNUNET_DATASTORE_PluginFunctions *api; 645 struct GNUNET_DATASTORE_PluginFunctions *api;
646 struct GNUNET_DATASTORE_PluginEnvironment env; 646 struct GNUNET_DATASTORE_PluginEnvironment env;
647 647
648 cfg = GNUNET_CONFIGURATION_create (); 648 cfg = GNUNET_CONFIGURATION_create ();
649 if (GNUNET_OK != 649 if (GNUNET_OK !=
650 GNUNET_CONFIGURATION_load (cfg, 650 GNUNET_CONFIGURATION_load (cfg,
@@ -691,9 +691,9 @@ int
691main (int argc, 691main (int argc,
692 char *argv[]) 692 char *argv[])
693{ 693{
694 char cfg_name[128]; 694 char cfg_name[PATH_MAX];
695 int ret; 695 int ret;
696 696
697 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); 697 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
698 GNUNET_snprintf (cfg_name, 698 GNUNET_snprintf (cfg_name,
699 sizeof (cfg_name), 699 sizeof (cfg_name),