]> andersk Git - moira.git/commitdiff
punt cistrcmp(); update FS types
authormar <mar>
Wed, 2 May 1990 13:12:20 +0000 (13:12 +0000)
committermar <mar>
Wed, 2 May 1990 13:12:20 +0000 (13:12 +0000)
lib/nfsparttype.c

index 9f148f373358ad7693cbfadadd2715a21ee6bda8..8d1809410838004ad34c0e1951e10710448837ad 100644 (file)
@@ -33,11 +33,10 @@ struct pair {
 
 static struct pair fs_names[] = {
     { MR_FS_STUDENT, "Student" },
-    { MR_FS_FACULTY, "Faculty/Project" },
     { MR_FS_FACULTY, "Faculty" },
-    { MR_FS_FACULTY, "Project" },
     { MR_FS_STAFF, "Staff" },
     { MR_FS_MISC, "Other" },
+    { MR_FS_GROUPQUOTA, "GroupQuota" },
     /* Insert new entries before the 0,0 pair */
     { 0, 0 },
 };
@@ -105,7 +104,7 @@ parse_filesys_type(fs_type_name)
        t = strtrim(temp);      /* nuke leading and trailing whitespace */
 
        for (pp = fs_names; pp->type; pp++) {
-           if (cistrcmp(pp->name, t) == 0) {
+           if (strcasecmp(pp->name, t) == 0) {
                flags |= pp->type;
                break;
            }
This page took 0.046919 seconds and 5 git commands to generate.