diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-11-08 15:02:34 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-11-08 15:02:34 +0000 |
commit | d27b036f2303449f5895dbf50e18fea785ff1c33 (patch) | |
tree | da961a925ac14e55534920ccddae5a8182ca37c6 /src/datastore/plugin_datastore_sqlite.c | |
parent | 94e1925c647c8df24519de8f245eda5474650aea (diff) |
seaspidery
git-svn-id: https://gnunet.org/svn/gnunet@13620 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 8169d1e26a..457f75c456 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 */ |