1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Add some debug to reply_nttrans

(This used to be commit 23e9fed28c)
This commit is contained in:
Volker Lendecke 2008-09-09 14:43:20 +02:00 committed by Volker Lendecke
parent 2a93452994
commit 0b31c97e82

View File

@ -2582,6 +2582,17 @@ void reply_nttrans(struct smb_request *req)
state->setup = NULL; state->setup = NULL;
state->call = function_code; state->call = function_code;
DEBUG(10, ("num_setup=%u, "
"param_total=%u, this_param=%u, max_param=%u, "
"data_total=%u, this_data=%u, max_data=%u, "
"param_offset=%u, data_offset=%u\n",
(unsigned)state->setup_count,
(unsigned)state->total_param, (unsigned)pscnt,
(unsigned)state->max_param_return,
(unsigned)state->total_data, (unsigned)dscnt,
(unsigned)state->max_data_return,
(unsigned)psoff, (unsigned)dsoff));
/* /*
* All nttrans messages we handle have smb_wct == 19 + * All nttrans messages we handle have smb_wct == 19 +
* state->setup_count. Ensure this is so as a sanity check. * state->setup_count. Ensure this is so as a sanity check.