assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

This commit is contained in:
Hallvard Furuseth 2005-07-22 14:35:16 +00:00
parent cc27d26f48
commit a7f82239b6

View File

@ -1554,7 +1554,7 @@ int slap_sasl_getdn( Connection *conn, Operation *op, struct berval *id,
if ( !op ) {
op = conn->c_sasl_bindop;
}
assert( op );
assert( op != NULL );
BER_BVZERO( dn );