mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +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:
parent
36803da8f9
commit
b5e7b9dbea
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user