diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-01 12:40:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:10 -0500 |
commit | 6ef03e7a846a4b858eec0b9953f03306f46b77e3 (patch) | |
tree | 2a4e9b7650cc7de99711b475b5e511dc8f51e70f /source4/torture | |
parent | a78c26beaa22aa655b6c094475019d29825dd77c (diff) | |
download | samba-6ef03e7a846a4b858eec0b9953f03306f46b77e3.tar.gz samba-6ef03e7a846a4b858eec0b9953f03306f46b77e3.tar.bz2 samba-6ef03e7a846a4b858eec0b9953f03306f46b77e3.zip |
r3432: Support WERROR's in arguments (not just as return type). Some of
the DCOM calls are wrappers around several local calls, so you get things like:
WERROR foobar ( [in] int num_ifaces,
[in,size_is(num_ifaces)] IID *ifaces,
[out,size_is(num_ifaces)] WERROR *results);
(This used to be commit 0873bf2cbe3589988e518cf68ad4d14343b9240b)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/remact.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c index 2fbb5de33e..9d725893c9 100644 --- a/source4/torture/rpc/remact.c +++ b/source4/torture/rpc/remact.c @@ -57,8 +57,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) return 0; } - if(!W_ERROR_IS_OK(W_ERROR(r.out.hr))) { - fprintf(stderr, "RemoteActivation: %s\n", win_errstr(W_ERROR(r.out.hr))); + if(!W_ERROR_IS_OK(r.out.hr)) { + fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.hr)); return 0; } |