From bf28978a70b9abbfb09b44325c712d110b590a33 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 21 Jun 2005 05:27:02 +0000 Subject: r7798: CIFSFS client assumes wcnt == 10 for successful trans2 reply. Jeremy. (This used to be commit aea58e6bb60565430aec69598c47b2a8f4667e89) --- source3/smbd/trans2.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'source3') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a504ce9010..cfe9a2fbdd 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2479,7 +2479,6 @@ cap_low = 0x%x, cap_high = 0x%x\n", (unsigned int)client_unix_cap_low, (unsigned int)client_unix_cap_high )); - outsize = set_message(outbuf,0,0,True); break; } case SMB_FS_QUOTA_INFORMATION: @@ -2538,14 +2537,6 @@ cap_low = 0x%x, cap_high = 0x%x\n", return ERROR_DOS(ERRSRV,ERRerror); } - /* - * sending this reply works fine, - * but I'm not sure it's the same - * like windows do... - * --metze - */ - outsize = set_message(outbuf,10,0,True); - break; default: DEBUG(3,("call_trans2setfsinfo: unknown level (0x%X) not implemented yet.\n", @@ -2554,6 +2545,14 @@ cap_low = 0x%x, cap_high = 0x%x\n", break; } + /* + * sending this reply works fine, + * but I'm not sure it's the same + * like windows do... + * --metze + */ + outsize = set_message(outbuf,10,0,True); + return outsize; } -- cgit