]> git.sur5r.net Git - openldap/commitdiff
s/text/text ? text : ""/ in Statslog
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 16 Aug 1999 06:28:33 +0000 (06:28 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 16 Aug 1999 06:28:33 +0000 (06:28 +0000)
servers/slapd/result.c

index 37b36d1ea6ba1519ecdf4399aed6a5783c195a4c..cf572e81cd331547d931de2909f5c849feb2fac7 100644 (file)
@@ -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 : "" );
 
 }