Diff for /libraries/libldap/result.c between versions 1.124.2.19 and 1.124.2.22

version 1.124.2.19, 2009/03/05 19:07:21 version 1.124.2.22, 2010/04/15 23:59:41
Line 1 Line 1
 /* result.c - wait for an ldap result */  /* result.c - wait for an ldap result */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.124.2.18 2009/02/17 21:02:51 quanah Exp $ */  /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2009 The OpenLDAP Foundation.   * Copyright 1998-2010 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 276  wait4msg( Line 276  wait4msg(
         }          }
 #endif /* LDAP_DEBUG */  #endif /* LDAP_DEBUG */
   
         if ( timeout != NULL ) {          if ( timeout != NULL && timeout->tv_sec != -1 ) {
                 tv0 = *timeout;                  tv0 = *timeout;
                 tv = *timeout;                  tv = *timeout;
                 tvp = &tv;                  tvp = &tv;
Line 747  nextresp2: Line 747  nextresp2:
                         }                          }
   
                         /* Do we need to check for referrals? */                          /* Do we need to check for referrals? */
                         if ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||                          if ( tag != LDAP_RES_BIND &&
                                         lr->lr_parent != NULL )                                  ( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ||
                                           lr->lr_parent != NULL ))
                         {                          {
                                 char            **refs = NULL;                                  char            **refs = NULL;
                                 ber_len_t       len;                                  ber_len_t       len;

Removed from v.1.124.2.19  
changed lines
  Added in v.1.124.2.22


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org