diff options
author | Jeremy Allison <jra@samba.org> | 2000-07-18 19:25:32 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-07-18 19:25:32 +0000 |
commit | f038a24e9f624fdb04cd52769d45783248ce8a38 (patch) | |
tree | 274eea27ef0e3c2cc0e2d5672c1dce31afe424aa /source/rpc_parse/parse_prs.c | |
parent | ea64f2525d649c0952af52c2ba21a3bac57b322e (diff) | |
download | samba-f038a24e9f624fdb04cd52769d45783248ce8a38.tar.gz samba-f038a24e9f624fdb04cd52769d45783248ce8a38.tar.xz samba-f038a24e9f624fdb04cd52769d45783248ce8a38.zip |
rpc_parse/parse_prs.c: Removed extraneous ()'s.
rpc_parse/parse_spoolss.c: Fixed the security descriptor marshalling in a INFO_2 struct.
for some reason SD's should be done inline after the info2, not
as the last buffer marshall.
rpc_server/srv_spoolss_nt.c: Removed extraneous ()'s.
Jeremy.
Diffstat (limited to 'source/rpc_parse/parse_prs.c')
-rw-r--r-- | source/rpc_parse/parse_prs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_prs.c b/source/rpc_parse/parse_prs.c index 1bda5ef5068..5f43e529750 100644 --- a/source/rpc_parse/parse_prs.c +++ b/source/rpc_parse/parse_prs.c @@ -817,7 +817,7 @@ BOOL prs_string(char *name, prs_struct *ps, int depth, char *str, int len, int m BOOL prs_uint16_pre(char *name, prs_struct *ps, int depth, uint16 *data16, uint32 *offset) { - (*offset) = ps->data_offset; + *offset = ps->data_offset; if (UNMARSHALLING(ps)) { /* reading. */ return prs_uint16(name, ps, depth, data16); @@ -864,7 +864,7 @@ BOOL prs_uint16_post(char *name, prs_struct *ps, int depth, uint16 *data16, BOOL prs_uint32_pre(char *name, prs_struct *ps, int depth, uint32 *data32, uint32 *offset) { - (*offset) = ps->data_offset; + *offset = ps->data_offset; if (UNMARSHALLING(ps)) { /* reading. */ return prs_uint32(name, ps, depth, data32); |