Changeset 1608


Ignore:
Timestamp:
Aug 26, 2010, 9:23:13 PM (14 years ago)
Author:
gdb
Message:
Handle the case of an unexpected LDAP attribute
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/httpdmods/mod_vhost_ldap.c

    r1606 r1608  
    619619                reqc->cgiroot = val;
    620620            }
     621            else {
     622                /* This should not actually be reachable, but it's
     623                   good to cover all all possible cases */
     624                ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r,
     625                              "Unexpected attribute %s encountered", attributes[i]);
     626                continue;
     627            }
    621628
    622629            if (val == NULL)
Note: See TracChangeset for help on using the changeset viewer.