Fixed bug, reported by Phil: Profile entry Draft-Folder was case sensitive.
[mmh] / sbr / readconfig.c
index ef43bde..a557cda 100644 (file)
@@ -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;
                                        }