]> git.sur5r.net Git - openldap/commitdiff
Minor bug fix in ldap_parse_extended_result.
authorMark Valence <mrv@openldap.org>
Mon, 8 Nov 1999 18:47:47 +0000 (18:47 +0000)
committerMark Valence <mrv@openldap.org>
Mon, 8 Nov 1999 18:47:47 +0000 (18:47 +0000)
libraries/libldap/extended.c

index e284b485fdd63e31d3d13dcf7ea911e839cd7aba..c3b382d18d9dfd45d5a8f9ebb2e75e16ed2764a7 100644 (file)
@@ -181,7 +181,7 @@ ldap_parse_extended_result (
                return ld->ld_errno;
        }
 
-       if( res->lm_msgtype == LDAP_RES_EXTENDED ) {
+       if( res->lm_msgtype != LDAP_RES_EXTENDED ) {
                ld->ld_errno = LDAP_PARAM_ERROR;
                return ld->ld_errno;
        }