Changeset 7ff6405 in code for icb.c


Ignore:
Timestamp:
Apr 22, 2015, 5:28:59 PM (10 years ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
65b48ee
Parents:
176b6ef
Message:

Better error messages for invalid groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icb.c

    r176b6ef r7ff6405  
    108108                if (icb_token(msg, msglen, &wptr, group, ICB_MAXGRPLEN,
    109109                    ICB_M_SEP, 1) < 0) {
    110                         icb_error(is, "Invalid group");
     110                        icb_error(is, "Invalid login group");
    111111                        icbd_drop(is, NULL);
    112112                        return (1);
     
    196196        if (ig == NULL) {
    197197                if (!creategroups) {
    198                         icb_error(is, "Invalid group %s", group);
     198                        icb_error(is, "Can't create new groups", group);
    199199                        icbd_drop(is, NULL);
    200200                        return (1);
Note: See TracChangeset for help on using the changeset viewer.