From 6ef03e7a846a4b858eec0b9953f03306f46b77e3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 1 Nov 2004 12:40:43 +0000 Subject: 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) --- source4/torture/rpc/remact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc/remact.c') 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; } -- cgit