From 585940984ca78768e60dceac8467418d4014315d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 27 Oct 2009 01:55:45 +0000 Subject: [PATCH] Fix prev commit, s/errno/err/g --- libraries/libldap/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5