version 1.36, 1999/07/13 04:39:55
|
version 1.37, 1999/09/02 06:05:18
|
Line 340 try_read1msg(
|
Line 340 try_read1msg(
|
if (( lr = ldap_find_request_by_msgid( ld, id )) == NULL ) { |
if (( lr = ldap_find_request_by_msgid( ld, id )) == NULL ) { |
Debug( LDAP_DEBUG_ANY, |
Debug( LDAP_DEBUG_ANY, |
"no request for response with msgid %ld (tossing)\n", |
"no request for response with msgid %ld (tossing)\n", |
id, 0, 0 ); |
(long) id, 0, 0 ); |
ber_free( ber, 1 ); |
ber_free( ber, 1 ); |
return( -2 ); /* continue looking */ |
return( -2 ); /* continue looking */ |
} |
} |
Line 352 try_read1msg(
|
Line 352 try_read1msg(
|
return( -1 ); |
return( -1 ); |
} |
} |
|
|
Debug( LDAP_DEBUG_TRACE, "ldap_read: %s msgid %ld, original id %d\n", |
Debug( LDAP_DEBUG_TRACE, "ldap_read: %s msgid %ld, original id %ld\n", |
( tag == LDAP_RES_SEARCH_ENTRY ) ? "entry" : |
( tag == LDAP_RES_SEARCH_ENTRY ) ? "entry" : |
( tag == LDAP_RES_SEARCH_REFERENCE ) ? "reference" : "result", |
( tag == LDAP_RES_SEARCH_REFERENCE ) ? "reference" : "result", |
id, lr->lr_origid ); |
(long) id, (long) lr->lr_origid ); |
|
|
id = lr->lr_origid; |
id = lr->lr_origid; |
refer_cnt = 0; |
refer_cnt = 0; |
Line 428 Debug( LDAP_DEBUG_TRACE,
|
Line 428 Debug( LDAP_DEBUG_TRACE,
|
id = lr->lr_msgid; |
id = lr->lr_msgid; |
tag = lr->lr_res_msgtype; |
tag = lr->lr_res_msgtype; |
Debug( LDAP_DEBUG_ANY, "request %ld done\n", |
Debug( LDAP_DEBUG_ANY, "request %ld done\n", |
id, 0, 0 ); |
(long) id, 0, 0 ); |
Debug( LDAP_DEBUG_TRACE, |
Debug( LDAP_DEBUG_TRACE, |
"res_errno: %d, res_error: <%s>, res_matched: <%s>\n", |
"res_errno: %d, res_error: <%s>, res_matched: <%s>\n", |
lr->lr_res_errno, lr->lr_res_error ? lr->lr_res_error : "", |
lr->lr_res_errno, lr->lr_res_error ? lr->lr_res_error : "", |
Line 510 lr->lr_res_matched ? lr->lr_res_matched
|
Line 510 lr->lr_res_matched ? lr->lr_res_matched
|
return( -2 ); /* continue looking */ |
return( -2 ); /* continue looking */ |
} |
} |
|
|
Debug( LDAP_DEBUG_TRACE, "adding response id %d type %d:\n", |
Debug( LDAP_DEBUG_TRACE, "adding response id %ld type %ld:\n", |
new->lm_msgid, new->lm_msgtype, 0 ); |
(long) new->lm_msgid, (long) new->lm_msgtype, 0 ); |
|
|
/* part of a search response - add to end of list of entries */ |
/* part of a search response - add to end of list of entries */ |
for ( tmp = l; tmp->lm_chain != NULL && |
for ( tmp = l; tmp->lm_chain != NULL && |