projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc2a39
)
ServerShutdownModule_GETTEXT() was failing on non-locale-aware systems, fixed
author
Art Cancro
<ajc@uncensored.citadel.org>
Mon, 23 May 2011 19:47:07 +0000
(15:47 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Mon, 23 May 2011 19:47:07 +0000
(15:47 -0400)
webcit/gettext.c
patch
|
blob
|
history
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index 120f4bcfd42c5cec74e02ca7414da88cc5682755..b05bb9bff84e5be646d6dda257d56b38ce6353ca 100644
(file)
--- a/
webcit/gettext.c
+++ b/
webcit/gettext.c
@@
-483,13
+483,13
@@
void
ServerShutdownModule_GETTEXT
(void)
{
-#ifdef
HAVE_USELOCALE
+#ifdef
ENABLE_NLS
int i;
for (i = 0; i < nLocalesLoaded; ++i) {
if (Empty_Locale != wc_locales[i])
freelocale(wc_locales[i]);
}
free(wc_locales);
-#endif
if (!AvailLangLoaded) free(AvailLangLoaded);
+#endif
}