1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

smbd: Modernize a DEBUG statement

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-12-19 11:02:46 +01:00 committed by Jeremy Allison
parent 0970822699
commit aa377c7fd7

View File

@ -2689,11 +2689,18 @@ static void call_trans2findfirst(connection_struct *conn,
info_level = SVAL(params,6);
DEBUG(3,("call_trans2findfirst: dirtype = %x, maxentries = %d, close_after_first=%d, \
close_if_end = %d requires_resume_key = %d backup_priv = %d level = 0x%x, max_data_bytes = %d\n",
(unsigned int)dirtype, maxentries, close_after_first, close_if_end, requires_resume_key,
(int)backup_priv,
info_level, max_data_bytes));
DBG_NOTICE("dirtype = %"PRIx32", maxentries = %d, "
"close_after_first=%d, close_if_end = %d "
"requires_resume_key = %d backup_priv = %d level = 0x%x, "
"max_data_bytes = %d\n",
dirtype,
maxentries,
close_after_first,
close_if_end,
requires_resume_key,
backup_priv,
info_level,
max_data_bytes);
if (!maxentries) {
/* W2K3 seems to treat zero as 1. */