From ff51c615d9f43e5680b68457da1c1b08fb73f904 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 8 Nov 2010 15:02:34 +0000 Subject: [PATCH] seaspidery --- src/datastore/plugin_datastore_sqlite.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 8169d1e26..457f75c45 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c @@ -234,13 +234,13 @@ database_setup (const struct GNUNET_CONFIGURATION_Handle *cfg, /* database is new or got deleted, reset payload to zero! */ plugin->env->duc (plugin->env->cls, 0); } - plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), #ifdef ENABLE_NLS - nl_langinfo (CODESET) + plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), + nl_langinfo (CODESET)); #else - "UTF-8" /* good luck */ + plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), + "UTF-8"); /* good luck */ #endif - ); GNUNET_free (afsdir); /* Open database and precompile statements */ -- 2.25.1