Diff for /libraries/libldap/sasl.c between versions 1.79 and 1.80

version 1.79, 2010/04/13 20:17:56 version 1.80, 2010/09/12 08:09:45
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.78 2009/10/27 00:55:45 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.79 2010/04/13 20:17:56 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2010 The OpenLDAP Foundation.   * Copyright 1998-2010 The OpenLDAP Foundation.
Line 733  sb_sasl_generic_write( Sockbuf_IO_Desc * Line 733  sb_sasl_generic_write( Sockbuf_IO_Desc *
                 return ret;                  return ret;
         } else if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) {          } else if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) {
                 /* partial write? pretend nothing got written */                  /* partial write? pretend nothing got written */
                 len2 = 0;  
                 p->flags |= LDAP_PVT_SASL_PARTIAL_WRITE;                  p->flags |= LDAP_PVT_SASL_PARTIAL_WRITE;
                   sock_errset(EAGAIN);
                   len2 = -1;
         }          }
   
         /* return number of bytes encoded, not written, to ensure          /* return number of bytes encoded, not written, to ensure

Removed from v.1.79  
changed lines
  Added in v.1.80


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