1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

lazy_initialize_conv: Remove redundant call to init_valid_table,

because init_iconv calls it for us.

init_iconv: Add documentation about how this is reintialized when
configuration is reloaded.
(This used to be commit 0ee80a9018)
This commit is contained in:
Martin Pool 2003-04-04 07:50:59 +00:00
parent 36803da8f9
commit b5e7b9dbea

View File

@ -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;