summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/echo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-01 00:00:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:21 -0500
commit03c2d642a620380d96a9e745ceb1cd19ffea2160 (patch)
tree351938707b57f8f3ed29a966d48d858f562d250d /source4/torture/rpc/echo.c
parent5ec5e7aa29ef4abf6b60a0de4947693d3e587f74 (diff)
downloadsamba-03c2d642a620380d96a9e745ceb1cd19ffea2160.tar.gz
samba-03c2d642a620380d96a9e745ceb1cd19ffea2160.tar.bz2
samba-03c2d642a620380d96a9e745ceb1cd19ffea2160.zip
r7159: Improve the messages from pidl's validator module.
Change the IDL file for the echo interface to match the one we use for Windows. The only thing different between the two files currently is the names of the scalar types and the handling of strings. (This used to be commit b264c61061d222347919837600adf809fbadfb13)
Diffstat (limited to 'source4/torture/rpc/echo.c')
-rw-r--r--source4/torture/rpc/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 3ca2634a8d..14bfe573ce 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -39,8 +39,8 @@ static BOOL test_addone(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
for (i=0;i<10;i++) {
uint32_t n = i;
struct echo_AddOne r;
- r.in.v = &n;
- r.out.v = &n;
+ r.in.in_data = n;
+ r.out.out_data = &n;
status = dcerpc_echo_AddOne(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {
printf("AddOne(%d) failed - %s\n", i, nt_errstr(status));