summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-15 02:33:27 +0000
committerJeremy Allison <jra@samba.org>2000-08-15 02:33:27 +0000
commit0631c6e3a709969f664be0c56f4eaf145e5e2b5c (patch)
tree964b6086144738ff453e5ae423ed54df9af7f030 /source3/rpc_parse
parentd8464d49c6356d742208dedeec9bea47068ae14c (diff)
downloadsamba-0631c6e3a709969f664be0c56f4eaf145e5e2b5c.tar.gz
samba-0631c6e3a709969f664be0c56f4eaf145e5e2b5c.tar.bz2
samba-0631c6e3a709969f664be0c56f4eaf145e5e2b5c.zip
Tidied up extra ()'s.
Jeremy (This used to be commit f94f37dcab2bc2b68e2b6b4ca440ad53a60e8117)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index fe8e9c85ca..5598c619a9 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -441,26 +441,26 @@ static BOOL spool_io_user_level_1(char *desc, SPOOL_USER_1 *q_u, prs_struct *ps,
if (!prs_align(ps))
return False;
- if (!prs_uint32("size", ps, depth, &(q_u->size)))
+ if (!prs_uint32("size", ps, depth, &q_u->size))
return False;
- if (!prs_uint32("client_name_ptr", ps, depth, &(q_u->client_name_ptr)))
+ if (!prs_uint32("client_name_ptr", ps, depth, &q_u->client_name_ptr))
return False;
- if (!prs_uint32("user_name_ptr", ps, depth, &(q_u->user_name_ptr)))
+ if (!prs_uint32("user_name_ptr", ps, depth, &q_u->user_name_ptr))
return False;
- if (!prs_uint32("build", ps, depth, &(q_u->build)))
+ if (!prs_uint32("build", ps, depth, &q_u->build))
return False;
- if (!prs_uint32("major", ps, depth, &(q_u->major)))
+ if (!prs_uint32("major", ps, depth, &q_u->major))
return False;
- if (!prs_uint32("minor", ps, depth, &(q_u->minor)))
+ if (!prs_uint32("minor", ps, depth, &q_u->minor))
return False;
- if (!prs_uint32("processor", ps, depth, &(q_u->processor)))
+ if (!prs_uint32("processor", ps, depth, &q_u->processor))
return False;
- if (!smb_io_unistr2("", &(q_u->client_name), q_u->client_name_ptr, ps, depth))
+ if (!smb_io_unistr2("", &q_u->client_name, q_u->client_name_ptr, ps, depth))
return False;
if (!prs_align(ps))
return False;
- if (!smb_io_unistr2("", &(q_u->user_name), q_u->user_name_ptr, ps, depth))
+ if (!smb_io_unistr2("", &q_u->user_name, q_u->user_name_ptr, ps, depth))
return False;
return True;
@@ -485,7 +485,7 @@ static BOOL spool_io_user_level(char *desc, SPOOL_USER_CTR *q_u, prs_struct *ps,
switch (q_u->level) {
case 1:
- if (!spool_io_user_level_1("", &(q_u->user1), ps, depth))
+ if (!spool_io_user_level_1("", &q_u->user1, ps, depth))
return False;
break;
default:
@@ -670,13 +670,13 @@ static BOOL spoolss_io_printer_default(char *desc, PRINTER_DEFAULT *pd, prs_stru
if (!prs_uint32("datatype_ptr", ps, depth, &pd->datatype_ptr))
return False;
- if (!smb_io_unistr2("datatype", &(pd->datatype), pd->datatype_ptr, ps,depth))
+ if (!smb_io_unistr2("datatype", &pd->datatype, pd->datatype_ptr, ps,depth))
return False;
if (!prs_align(ps))
return False;
- if (!spoolss_io_devmode_cont("", &(pd->devmode_cont), ps, depth))
+ if (!spoolss_io_devmode_cont("", &pd->devmode_cont, ps, depth))
return False;
if (!prs_uint32("access_required", ps, depth, &pd->access_required))