Skip to content
Snippets Groups Projects
Commit ababc074 authored by Howard Chu's avatar Howard Chu
Browse files

Add "nentries" to send_search_result() Statslog message. Suggested

by ITS#1360.
parent dda2e4ce
No related branches found
No related tags found
No related merge requests found
......@@ -594,10 +594,15 @@ send_search_result(
err, matched, text, refs,
NULL, NULL, NULL, ctrls );
{
char nbuf[64];
sprintf( nbuf, "%ld nentries=%d", (long) err, nentries );
Statslog( LDAP_DEBUG_STATS,
"conn=%ld op=%ld SEARCH RESULT tag=%lu err=%ld text=%s\n",
"conn=%ld op=%ld SEARCH RESULT tag=%lu err=%s text=%s\n",
(long) op->o_connid, (long) op->o_opid,
(unsigned long) tag, (long) err, text ? text : "" );
(unsigned long) tag, nbuf, text ? text : "" );
}
if (tmp != NULL) {
ch_free(tmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment