summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-27 13:30:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:13 -0500
commite1ffd2d612184fb1343cbe7e1d5d1aacebe0e8fa (patch)
tree6bf2f4a7c5d354c0ebbbe873817df00c8428a78a /source3/rpc_parse
parent66eaf508db7dac286fae0759b443a62d5aec60c1 (diff)
downloadsamba-e1ffd2d612184fb1343cbe7e1d5d1aacebe0e8fa.tar.gz
samba-e1ffd2d612184fb1343cbe7e1d5d1aacebe0e8fa.tar.bz2
samba-e1ffd2d612184fb1343cbe7e1d5d1aacebe0e8fa.zip
r11332: eventlog API uses NTSTATUS, not WERROR for return codes
(This used to be commit f5f40633bc3f641a0fef4934375d0d829899b0d7)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_eventlog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_parse/parse_eventlog.c b/source3/rpc_parse/parse_eventlog.c
index 1b57272ca4..0f0b02748b 100644
--- a/source3/rpc_parse/parse_eventlog.c
+++ b/source3/rpc_parse/parse_eventlog.c
@@ -90,7 +90,7 @@ BOOL eventlog_io_r_open_eventlog(const char *desc, EVENTLOG_R_OPEN_EVENTLOG *r_u
if(!(smb_io_pol_hnd("log handle", &(r_u->handle), ps, depth)))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;
@@ -129,7 +129,7 @@ BOOL eventlog_io_r_get_num_records(const char *desc, EVENTLOG_R_GET_NUM_RECORDS
if(!(prs_uint32("num records", ps, depth, &(r_u->num_records))))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;
@@ -168,7 +168,7 @@ BOOL eventlog_io_r_get_oldest_entry(const char *desc, EVENTLOG_R_GET_OLDEST_ENTR
if(!(prs_uint32("oldest entry", ps, depth, &(r_u->oldest_entry))))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;
@@ -207,7 +207,7 @@ BOOL eventlog_io_r_close_eventlog(const char *desc, EVENTLOG_R_CLOSE_EVENTLOG *r
if(!(smb_io_pol_hnd("log handle", &(r_u->handle), ps, depth)))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;
@@ -372,7 +372,7 @@ BOOL eventlog_io_r_read_eventlog(const char *desc,
return False;
if(!(prs_uint32("real size", ps, depth, &(r_u->real_size))))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;
@@ -424,7 +424,7 @@ BOOL eventlog_io_r_clear_eventlog(const char *desc, EVENTLOG_R_CLEAR_EVENTLOG *r
if(!prs_align(ps))
return False;
- if(!(prs_werror("status code", ps, depth, &(r_u->status))))
+ if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
return False;
return True;