s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jun 2011 22:44:34 +0000 (00:44 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 17 Jun 2011 18:57:58 +0000 (20:57 +0200)
commitda5870b0073ad2a8b3f1bd3957551283a5f0da33
tree58eb0c9e812ed6c120df0b31f289e59dd011df92
parent6e3eefad3a265e7417ab9393fe8fc276523efd8a
s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests

We need to align params and data to 4 byte offsets.

This also correctly recalculates the useable space after each step.

metze
(cherry picked from commit 0a8fd50bd806e925a915c74cb86733481b2144f6)
source3/libsmb/clitrans.c