summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/remact.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-31 20:57:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:07 -0500
commit92d2f7a12d8d599ccd58e078cca65c6587d11216 (patch)
tree7fda9c487d85694310cccc6f9cd011a99ac612e1 /source4/torture/rpc/remact.c
parentbeb3e7041a72f0f1465aa4e6db07cdd9145a8057 (diff)
downloadsamba-92d2f7a12d8d599ccd58e078cca65c6587d11216.tar.gz
samba-92d2f7a12d8d599ccd58e078cca65c6587d11216.tar.bz2
samba-92d2f7a12d8d599ccd58e078cca65c6587d11216.zip
r3416: Typos
(This used to be commit 52d924501a08c2e37eabfd779dec406d38e7eaaf)
Diffstat (limited to 'source4/torture/rpc/remact.c')
-rw-r--r--source4/torture/rpc/remact.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index c2f206c863..1136f68025 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -37,8 +37,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r.in.this.version.MinorVersion = 1;
uuid_generate_random(&r.in.this.cid);
GUID_from_string(CLSID_SIMPLE, &r.in.Clsid);
- r.in.num_protseqs = 1;
r.in.ClientImpLevel = RPC_C_IMP_LEVEL_IDENTIFY;
+ r.in.num_protseqs = 2;
r.in.protseq = protseq;
r.in.Interfaces = 1;
GUID_from_string(DCERPC_IUNKNOWN_UUID, &iids[0]);
@@ -55,8 +55,8 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return 0;
}
- if(!W_ERROR_IS_OK(W_ERROR(r.out.phr))) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(W_ERROR(r.out.phr)));
+ if(!W_ERROR_IS_OK(W_ERROR(r.out.hr))) {
+ fprintf(stderr, "RemoteActivation: %s\n", win_errstr(W_ERROR(r.out.hr)));
return 0;
}