diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/ini/ini_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ini/ini_config.c b/common/ini/ini_config.c index 67af11bf..f9461a74 100644 --- a/common/ini/ini_config.c +++ b/common/ini/ini_config.c @@ -1610,7 +1610,7 @@ static char **get_str_cfg_array(struct collection_item *item, } else { strncpy(locsep, sep, 3); - locsep[4] = '\0'; + locsep[3] = '\0'; lensep = strlen(locsep) + 1; } |