summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_misc.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2002-08-23 05:12:06 +0000
committerJean-François Micouleau <jfm@samba.org>2002-08-23 05:12:06 +0000
commit8462dbb933ec66f5756ee3a76152c32bacf746a4 (patch)
tree363b61e748f91fd7562badb6b03190c99dd07205 /source3/rpc_parse/parse_misc.c
parent6232468dcaadca90c1106c12a557c83b1dca0fc4 (diff)
downloadsamba-8462dbb933ec66f5756ee3a76152c32bacf746a4.tar.gz
samba-8462dbb933ec66f5756ee3a76152c32bacf746a4.tar.bz2
samba-8462dbb933ec66f5756ee3a76152c32bacf746a4.zip
some cleanup while working on the NETLOGON pipe.
smb_io_chal() did a prs_align() but a challenge is an array of bytes. and all code calling smb_io_chal() played with the alignment to not align ! I'm confident in my change, but I would *really* like if jeremy could look at that. J.F. (This used to be commit 23501ea971f8cc0799515e0d51ad8619221a31e1)
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r--source3/rpc_parse/parse_misc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 01d7698173..3dd9c3bc2a 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -1255,9 +1255,6 @@ BOOL smb_io_chal(char *desc, DOM_CHAL *chal, prs_struct *ps, int depth)
prs_debug(ps, depth, desc, "smb_io_chal");
depth++;
-
- if(!prs_align(ps))
- return False;
if(!prs_uint8s (False, "data", ps, depth, chal->data, 8))
return False;