Diff for /libraries/libldap/result.c between versions 1.58 and 1.59

version 1.58, 2001/09/24 16:50:44 version 1.59, 2001/09/27 22:18:41
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.57 2001/07/21 21:13:06 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.58 2001/09/24 16:50:44 kurt Exp $ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 372  try_read1msg( Line 372  try_read1msg(
   
         /* get the next message */          /* get the next message */
         errno = 0;          errno = 0;
   #ifdef LDAP_CONNECTIONLESS
           if ( LDAP_IS_UDP(ld) ) {
                   struct sockaddr from;
                   ber_int_sb_read(sb, &from, sizeof(struct sockaddr));
           }
   #endif
         if ( (tag = ber_get_next( sb, &len, ber ))          if ( (tag = ber_get_next( sb, &len, ber ))
             != LDAP_TAG_MESSAGE ) {              != LDAP_TAG_MESSAGE ) {
                 if ( tag == LBER_DEFAULT) {                  if ( tag == LBER_DEFAULT) {
Line 419  try_read1msg( Line 425  try_read1msg(
                 ber_free( ber, 1 );                  ber_free( ber, 1 );
                 return( -2 );   /* continue looking */                  return( -2 );   /* continue looking */
         }          }
   #ifdef LDAP_CONNECTIONLESS
           if (LDAP_IS_UDP(ld)) {
                   char *blank;
                   ber_scanf(ber, "a{", &blank);
                   if (blank)
                           ber_memfree(blank);
           }
   #endif
         /* the message type */          /* the message type */
         if ( (tag = ber_peek_tag( ber, &len )) == LBER_ERROR ) {          if ( (tag = ber_peek_tag( ber, &len )) == LBER_ERROR ) {
                 ld->ld_errno = LDAP_DECODING_ERROR;                  ld->ld_errno = LDAP_DECODING_ERROR;

Removed from v.1.58  
changed lines
  Added in v.1.59


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