summaryrefslogtreecommitdiff
path: root/common/ini/ini_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ini/ini_config.c')
-rw-r--r--common/ini/ini_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ini/ini_config.c b/common/ini/ini_config.c
index 9b23c94c..4f4ac2f2 100644
--- a/common/ini/ini_config.c
+++ b/common/ini/ini_config.c
@@ -1408,9 +1408,9 @@ void free_bin_config_value(char *value)
/* Arrays of stings and integers */
char **get_string_config_array(struct collection_item *item,
- char *sep, int *size, int *error)
+ const char *sep, int *size, int *error)
{
- char defsep[] = ",";
+ const char *defsep = ",";
char *copy = NULL;
char *dest = NULL;
int lensep;