+/* $OpenLDAP$ */
/*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
#include <ac/stdlib.h>
-#include <ac/ctype.h>
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/time.h>
assert( ld != NULL );
assert( LDAP_VALID( ld ) );
- if ( ld == NULL || chain == NULLMSG ) {
- return NULLMSG;
+ if ( ld == NULL || chain == NULL ) {
+ return NULL;
}
return chain;
assert( ld != NULL );
assert( LDAP_VALID( ld ) );
- if ( ld == NULL || msg == NULLMSG || msg->lm_chain == NULL ) {
- return NULLMSG;
+ if ( ld == NULL || msg == NULL || msg->lm_chain == NULL ) {
+ return NULL;
}
return( msg->lm_chain );