summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-04 10:57:29 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-04 10:57:29 +0000
commitc76dd1404041f42d3a398339cefbeb60f22d2910 (patch)
treec5ad09bfcf50336adcaa860a1f3f0979a831b03f /source3/rpc_parse
parentb5b9c46c0fa3a98999f5afbda497e88a6d319151 (diff)
downloadsamba-c76dd1404041f42d3a398339cefbeb60f22d2910.tar.gz
samba-c76dd1404041f42d3a398339cefbeb60f22d2910.tar.bz2
samba-c76dd1404041f42d3a398339cefbeb60f22d2910.zip
it now all compiles - so try enabling it by default and see what explodes on the build farm
(This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_dfs.c2
-rw-r--r--source3/rpc_parse/parse_net.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_parse/parse_dfs.c b/source3/rpc_parse/parse_dfs.c
index 70270e2c36..6e30c66ac1 100644
--- a/source3/rpc_parse/parse_dfs.c
+++ b/source3/rpc_parse/parse_dfs.c
@@ -66,7 +66,7 @@ BOOL dfs_io_r_dfs_exist(char *desc, DFS_R_DFS_EXIST *q_d, prs_struct *ps, int de
if(!prs_align(ps))
return False;
- if(!prs_ntstatus("exist flag", ps, 0, &q_d->status))
+ if(!prs_uint32("exist flag", ps, 0, &q_d->status))
return False;
return True;
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index f7c503a38d..e1a451b7ce 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -2445,8 +2445,8 @@ BOOL net_io_r_sam_sync(char *desc, uint8 sess_key[16],
}
prs_align(ps);
- if (!prs_uint32("status", ps, depth, &r_s->status))
- return False;
+ if (!prs_ntstatus("status", ps, depth, &(r_s->status)))
+ return False;
return True;
}
@@ -2578,7 +2578,7 @@ BOOL net_io_r_sam_deltas(char *desc, uint8 sess_key[16],
}
prs_align(ps);
- if (!prs_uint32("status", ps, depth, &r_s->status))
+ if (!prs_ntstatus("status", ps, depth, &r_s->status))
return False;
return True;