]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/abandon.c
All implementations of lutil_lockf (aka ldap_lockf) block until
[openldap] / libraries / libldap / abandon.c
index a41199a5813c056eb0b3c8d6b258c87643ac6097..2fac95f770c667226d2e36a93ae5522c8e5a659c 100644 (file)
@@ -98,7 +98,7 @@ do_abandon( LDAP *ld, int origid, int msgid )
                        ld->ld_errno = LDAP_NO_MEMORY;
                } else {
 #ifdef LDAP_CONNECTIONLESS
-                       if ( ld->ld_sb.sb_naddr > 0 ) {
+                       if ( ld->ld_cldapnaddr > 0 ) {
                                err = ber_printf( ber, "{isti}",
                                    ++ld->ld_msgid, ld->ld_cldapdn,
                                    LDAP_REQ_ABANDON, msgid );