Diff for /libraries/libldap/result.c between versions 1.36 and 1.36.2.1

version 1.36, 1999/07/13 04:39:55 version 1.36.2.1, 1999/09/10 20:25:26
Line 1 Line 1
   /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.38 1999/09/08 17:06:29 kdz Exp $ */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 340  try_read1msg( Line 341  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 353  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 429  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 511  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 &&

Removed from v.1.36  
changed lines
  Added in v.1.36.2.1


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