From a7f82239b6ffe137d38bea8f831b716e683d8d1b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 22 Jul 2005 14:35:16 +0000 Subject: [PATCH] assert expects int. (int) can be 0. Use assert(arg!=0/NULL). --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 56e016efcc..5aac28e25e 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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 ); -- 2.39.5