View | Details | Raw Unified
Collapse All | Expand All

(-) qmail-1.03/control.c.orig (-2 / +2 lines)
 Lines 403-410    Link Here 
  if(ldap_basedn.len) {
  if(ldap_basedn.len) {
    /* Save the BaseDN so it can be restored later. */
    /* Save the BaseDN so it can be restored later. */
    if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM);
    //if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM);
    if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM);
    //if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM);
  }
  }
  /* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable  */
  /* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable  */