From: Hallvard Furuseth Date: Thu, 5 Nov 1998 04:58:52 +0000 (+0000) Subject: Typo when !LDAP_REFERRALS X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1196 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6e48d6770a6ee83383738fa0db999257c9319ff;p=openldap Typo when !LDAP_REFERRALS --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index e961efe847..c022a993c3 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -169,7 +169,7 @@ wait4msg( LDAP *ld, int msgid, int all, struct timeval *timeout, rc = ldap_select1( ld, tvp ); if ( rc == 0 || ( rc == -1 && ( - (LDAP_BOOL_GET(ld, LDAP_BOOL_RESTART) = LDAP_OPT_OFF) + (LDAP_BOOL_GET(ld, LDAP_BOOL_RESTART) == LDAP_OPT_OFF) || errno != EINTR ))) { ld->ld_errno = (rc == -1 ? LDAP_SERVER_DOWN : LDAP_TIMEOUT);