summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r--src/common/weeconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index 4a142e977..20d5604b2 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -1366,7 +1366,7 @@ config_option_list_remove (char **string, char *item)
name = (char *) malloc (strlen (item) + 2);
strcpy (name, item);
strcat (name, ":");
- pos = strstr (*string, name);
+ pos = ascii_strcasestr (*string, name);
free (name);
if (pos)
{
@@ -1442,7 +1442,7 @@ config_option_list_get_value (char **string, char *item,
name = (char *) malloc (strlen (item) + 2);
strcpy (name, item);
strcat (name, ":");
- pos = strstr (*string, name);
+ pos = ascii_strcasestr (*string, name);
free (name);
if (pos)
{