version 1.28, 1999/05/28 23:19:16
|
version 1.29, 1999/05/31 15:30:22
|
Line 196 wait4msg( LDAP *ld, int msgid, int all,
|
Line 196 wait4msg( LDAP *ld, int msgid, int all,
|
#endif |
#endif |
|
|
if ( rc == 0 || ( rc == -1 && ( |
if ( rc == 0 || ( rc == -1 && ( |
( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART) |
!LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_RESTART) |
== LDAP_OPT_OFF ) |
|
|| errno != EINTR ))) |
|| errno != EINTR ))) |
{ |
{ |
ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN : |
ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN : |
Line 341 try_read1msg( LDAP *ld, int msgid, int a
|
Line 340 try_read1msg( LDAP *ld, int msgid, int a
|
if ( tag != LDAP_RES_SEARCH_ENTRY ) { |
if ( tag != LDAP_RES_SEARCH_ENTRY ) { |
if ( ld->ld_version >= LDAP_VERSION2 && |
if ( ld->ld_version >= LDAP_VERSION2 && |
( lr->lr_parent != NULL || |
( lr->lr_parent != NULL || |
( LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) |
LDAP_BOOL_GET(&ld->ld_options, LDAP_BOOL_REFERRALS) ) ) |
!= LDAP_OPT_OFF ) ) ) |
|
{ |
{ |
tmpber = *ber; /* struct copy */ |
tmpber = *ber; /* struct copy */ |
if ( ber_scanf( &tmpber, "{iaa}", &lderr, |
if ( ber_scanf( &tmpber, "{iaa}", &lderr, |