Changeset 7ff6405 in code
- Timestamp:
- Apr 22, 2015, 5:28:59 PM (10 years ago)
- Branches:
- master
- Children:
- 65b48ee
- Parents:
- 176b6ef
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cmd.c
r176b6ef r7ff6405 162 162 163 163 if (strlen(arg) == 0) { 164 icb_error(is, "Invalid group ");164 icb_error(is, "Invalid group name"); 165 165 return; 166 166 } … … 174 174 if (ig == NULL) { 175 175 if (!creategroups) { 176 icb_error(is, " Invalid group");176 icb_error(is, "Can't create new groups"); 177 177 return; 178 178 } else { 179 179 if ((ig = icb_addgroup(is, group)) == NULL) { 180 icb_error(is, "Can't create group ");180 icb_error(is, "Can't create group %s", group); 181 181 return; 182 182 } -
icb.c
r176b6ef r7ff6405 108 108 if (icb_token(msg, msglen, &wptr, group, ICB_MAXGRPLEN, 109 109 ICB_M_SEP, 1) < 0) { 110 icb_error(is, "Invalid group");110 icb_error(is, "Invalid login group"); 111 111 icbd_drop(is, NULL); 112 112 return (1); … … 196 196 if (ig == NULL) { 197 197 if (!creategroups) { 198 icb_error(is, " Invalid group %s", group);198 icb_error(is, "Can't create new groups", group); 199 199 icbd_drop(is, NULL); 200 200 return (1);
Note:
See TracChangeset
for help on using the changeset viewer.