summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-06 15:57:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:58 -0500
commit5658167806a6fbe70288a22b0304a3cfd773c44f (patch)
tree02b8a3c1ed8a641e5d6b664c9cab4d3adac93662 /source4/torture/rpc
parent0b4c61a05a9a070db489986fda5c57697cfd092a (diff)
downloadsamba-5658167806a6fbe70288a22b0304a3cfd773c44f.tar.gz
samba-5658167806a6fbe70288a22b0304a3cfd773c44f.tar.bz2
samba-5658167806a6fbe70288a22b0304a3cfd773c44f.zip
r5671: Bunch of fixes related to arrays and pointers to arrays.
(This used to be commit 00ef0feaddc096d8f5e2755feecaec37d589a99c)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/remact.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c
index 269c92a5b4..9db1e4f164 100644
--- a/source4/torture/rpc/remact.c
+++ b/source4/torture/rpc/remact.c
@@ -49,22 +49,22 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
status = dcerpc_RemoteActivation(p, mem_ctx, &r);
if(NT_STATUS_IS_ERR(status)) {
- fprintf(stderr, "RemoteActivation: %s\n", nt_errstr(status));
+ printf("RemoteActivation: %s\n", nt_errstr(status));
return 0;
}
if(!W_ERROR_IS_OK(r.out.result)) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.result));
+ printf("RemoteActivation: %s\n", win_errstr(r.out.result));
return 0;
}
if(!W_ERROR_IS_OK(r.out.hr)) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.hr));
+ printf("RemoteActivation: %s\n", win_errstr(r.out.hr));
return 0;
}
if(!W_ERROR_IS_OK(r.out.results[0])) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.results[0]));
+ printf("RemoteActivation: %s\n", win_errstr(r.out.results[0]));
return 0;
}
@@ -74,22 +74,22 @@ static int test_RemoteActivation(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
status = dcerpc_RemoteActivation(p, mem_ctx, &r);
if(NT_STATUS_IS_ERR(status)) {
- fprintf(stderr, "RemoteActivation(GetClassObject): %s\n", nt_errstr(status));
+ printf("RemoteActivation(GetClassObject): %s\n", nt_errstr(status));
return 0;
}
if(!W_ERROR_IS_OK(r.out.result)) {
- fprintf(stderr, "RemoteActivation(GetClassObject): %s\n", win_errstr(r.out.result));
+ printf("RemoteActivation(GetClassObject): %s\n", win_errstr(r.out.result));
return 0;
}
if(!W_ERROR_IS_OK(r.out.hr)) {
- fprintf(stderr, "RemoteActivation(GetClassObject): %s\n", win_errstr(r.out.hr));
+ printf("RemoteActivation(GetClassObject): %s\n", win_errstr(r.out.hr));
return 0;
}
if(!W_ERROR_IS_OK(r.out.results[0])) {
- fprintf(stderr, "RemoteActivation: %s\n", win_errstr(r.out.results[0]));
+ printf("RemoteActivation: %s\n", win_errstr(r.out.results[0]));
return 0;
}