28:32ed1ea4d0b6 | 29:ac763b87ee25 |
---|---|
97 } | 97 } |
98 break; | 98 break; |
99 case 'g': snprintf(buf, 127, "%s", optarg); | 99 case 'g': snprintf(buf, 127, "%s", optarg); |
100 if (cType == 'A') { | 100 if (cType == 'A') { |
101 sGroup = xstrcpy(buf); | 101 sGroup = xstrcpy(buf); |
102 } else if (cType == 'D') { | 102 } else if (cType == 'E') { |
103 cGroup = toupper(buf[0]); | 103 cGroup = toupper(buf[0]); |
104 } else { | 104 } else { |
105 iGroup = strtol(buf, &endptr, 10); | 105 iGroup = strtol(buf, &endptr, 10); |
106 } | 106 } |
107 break; | 107 break; |