summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 42cba33483..dc270b94b7 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -67,14 +67,16 @@ static void lazy_initialize_conv(void)
initialized = True;
load_case_tables();
init_iconv();
- init_valid_table();
}
}
/**
- Initialize iconv conversion descriptors.
-**/
-
+ * Initialize iconv conversion descriptors.
+ *
+ * This is called the first time it is needed, and also called again
+ * every time the configuration is reloaded, because the charset or
+ * codepage might have changed.
+ **/
void init_iconv(void)
{
int c1, c2;