/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1999-2006 The OpenLDAP Foundation.
+ * Copyright 1999-2009 The OpenLDAP Foundation.
* Portions Copyright 2001-2003 Pierangelo Masarati.
* Portions Copyright 1999-2003 Howard Chu.
* All rights reserved.
{
metasingleconn_t *msc = &mc->mc_conns[ candidate ];
- if ( msc->msc_ld ) {
+ if ( msc->msc_ld != NULL ) {
#ifdef DEBUG_205
char buf[ BUFSIZ ];
BER_BVZERO( &msc->msc_cred );
}
+ msc->msc_mscflags = 0;
+
return 0;
}