From 8971a6f1301b3220c4d4b7e729772420cfcd2b53 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 13 Dec 2011 14:20:32 +0100 Subject: [PATCH] Fixed bug, reported by Phil: Profile entry Draft-Folder was case sensitive. The components in the profile should be matched case*in*sensitive, always. --- sbr/readconfig.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sbr/readconfig.c b/sbr/readconfig.c index ef43bde..a557cda 100644 --- a/sbr/readconfig.c +++ b/sbr/readconfig.c @@ -82,11 +82,12 @@ readconfig(struct node **npp, FILE *ib, char *file, int ctx) np->n_context = ctx; /* - ** Now scan the list of `procs' and link in the - ** field value to the global variable. + ** Now scan the list of `procs' and link in + ** the field value to the global variable. */ for (ps = procs; ps->procname; ps++) - if (strcmp(np->n_name, ps->procname) == 0) { + if (mh_strcasecmp(np->n_name, + ps->procname) == 0) { *ps->procnaddr = np->n_field; break; } -- 1.7.10.4