summaryrefslogtreecommitdiffstats
path: root/source/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
commit23501ea971f8cc0799515e0d51ad8619221a31e1 (patch)
tree19bb20a7cbfaad7ddedbd3387536f64879696ab3 /source/rpc_parse/parse_misc.c
parent6ec267618a7ba2c4a7170b78ccfe95120c5430c4 (diff)
downloadsamba-23501ea971f8cc0799515e0d51ad8619221a31e1.tar.gz
samba-23501ea971f8cc0799515e0d51ad8619221a31e1.tar.xz
samba-23501ea971f8cc0799515e0d51ad8619221a31e1.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.
Diffstat (limited to 'source/rpc_parse/parse_misc.c')
-rw-r--r--source/rpc_parse/parse_misc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_misc.c b/source/rpc_parse/parse_misc.c
index 01d76981736..3dd9c3bc2a3 100644
--- a/source/rpc_parse/parse_misc.c
+++ b/source/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;