Changeset 2067

Show
Ignore:
Timestamp:
01/28/2008 09:28:23 AM (7 months ago)
Author:
glen
Message:

- conditions for USE_LDAP for compiler errors. #1535

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/http_auth.c

    r2062 r2067  
    5555 
    5656handler_t auth_ldap_init(server *srv, mod_auth_plugin_config *s); 
     57#ifdef USE_LDAP 
    5758void auth_ldap_cleanup(ldap_plugin_config *p); 
     59#endif 
    5860 
    5961static const char base64_pad = '='; 
  • trunk/src/mod_auth.c

    r2062 r2067  
    1717 
    1818handler_t auth_ldap_init(server *srv, mod_auth_plugin_config *s); 
     19#ifdef USE_LDAP 
    1920void auth_ldap_cleanup(ldap_plugin_config* p); 
     21#endif 
    2022 
    2123/** 
     
    646648} 
    647649 
     650#ifdef USE_LDAP 
    648651void auth_ldap_cleanup(ldap_plugin_config *p) { 
    649652        if (p->ldap != NULL) 
     
    651654        p->ldap = NULL; 
    652655} 
     656#endif 
    653657 
    654658LI_EXPORT int mod_auth_plugin_init(plugin *p) {