r5671: Bunch of fixes related to arrays and pointers to arrays.
[samba.git] / source4 / torture / rpc / remact.c
index 269c92a5b44db3f019cc62da31c4c98abd75243d..9db1e4f164d29618fc39a099c505c59fba658495 100644 (file)
@@ -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)) {
 
        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)) {
                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)) {
                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])) {
                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;
        }
 
                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)) {
 
        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)) {
                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)) {
                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])) {
                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;
        }
 
                return 0;
        }