From: markus schnalke Date: Tue, 13 Dec 2011 13:20:32 +0000 (+0100) Subject: Fixed bug, reported by Phil: Profile entry Draft-Folder was case sensitive. X-Git-Tag: mmh-thesis-end~452 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=8971a6f1301b3220c4d4b7e729772420cfcd2b53;p=mmh Fixed bug, reported by Phil: Profile entry Draft-Folder was case sensitive. The components in the profile should be matched case*in*sensitive, always. --- 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; }