]> git.sur5r.net Git - openldap/commitdiff
Typo when !LDAP_REFERRALS
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 5 Nov 1998 04:58:52 +0000 (04:58 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 5 Nov 1998 04:58:52 +0000 (04:58 +0000)
libraries/libldap/result.c

index e961efe847e6152774e5acd71773451b6687602d..c022a993c393afaf8af24c4fda498cb882d6ade8 100644 (file)
@@ -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);