From 697dae9faca9c8d39b6821f0a37e2f4b9d23709c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 16 Aug 1999 06:28:33 +0000 Subject: [PATCH] s/text/text ? text : ""/ in Statslog --- servers/slapd/result.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 37b36d1ea6..cf572e81cd 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -345,7 +345,7 @@ send_ldap_disconnect( Statslog( LDAP_DEBUG_STATS, "conn=%ld op=%ld DISCONNECT err=%ld tag=%lu text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ); + (long) tag, (long) err, text ? text : "" ); } void @@ -407,7 +407,7 @@ send_ldap_result( Statslog( LDAP_DEBUG_STATS, "conn=%ld op=%ld RESULT tag=%lu err=%ld text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ); + (long) tag, (long) err, text ? text : "" ); if( tmp != NULL ) { free(tmp); @@ -479,7 +479,7 @@ send_search_result( Statslog( LDAP_DEBUG_STATS, "conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld text=%s\n", (long) op->o_connid, (long) op->o_opid, - (long) tag, (long) err, text ); + (long) tag, (long) err, text ? text : "" ); } -- 2.39.5