From: Howard Chu Date: Tue, 27 Oct 2009 01:55:45 +0000 (+0000) Subject: Fix prev commit, s/errno/err/g X-Git-Tag: ACLCHECK_0~158 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=585940984ca78768e60dceac8467418d4014315d;p=openldap Fix prev commit, s/errno/err/g --- diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 43c7b5c7e4..29fa3b2df4 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -728,7 +728,7 @@ sb_sasl_generic_write( Sockbuf_IO_Desc *sbiod, void *buf, ber_len_t len) /* error? */ int err = sock_errno(); /* caller can retry this */ - if ( err == EAGAIN || errno == EWOULDBLOCK || errno == EINTR ) + if ( err == EAGAIN || err == EWOULDBLOCK || err == EINTR ) p->flags |= LDAP_PVT_SASL_PARTIAL_WRITE; return ret; } else if ( p->buf_out.buf_ptr != p->buf_out.buf_end ) {