diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-08 15:02:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-08 15:02:34 +0000 |
commit | ff51c615d9f43e5680b68457da1c1b08fb73f904 (patch) | |
tree | da961a925ac14e55534920ccddae5a8182ca37c6 /src/datastore | |
parent | 17d052c15feda68e25cd4e2f33fbf1cc2d93a553 (diff) | |
download | gnunet-ff51c615d9f43e5680b68457da1c1b08fb73f904.tar.gz gnunet-ff51c615d9f43e5680b68457da1c1b08fb73f904.zip |
seaspidery
Diffstat (limited to 'src/datastore')
-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 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, | |||
234 | /* database is new or got deleted, reset payload to zero! */ | 234 | /* database is new or got deleted, reset payload to zero! */ |
235 | plugin->env->duc (plugin->env->cls, 0); | 235 | plugin->env->duc (plugin->env->cls, 0); |
236 | } | 236 | } |
237 | plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), | ||
238 | #ifdef ENABLE_NLS | 237 | #ifdef ENABLE_NLS |
239 | nl_langinfo (CODESET) | 238 | plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), |
239 | nl_langinfo (CODESET)); | ||
240 | #else | 240 | #else |
241 | "UTF-8" /* good luck */ | 241 | plugin->fn = GNUNET_STRINGS_to_utf8 (afsdir, strlen (afsdir), |
242 | "UTF-8"); /* good luck */ | ||
242 | #endif | 243 | #endif |
243 | ); | ||
244 | GNUNET_free (afsdir); | 244 | GNUNET_free (afsdir); |
245 | 245 | ||
246 | /* Open database and precompile statements */ | 246 | /* Open database and precompile statements */ |