summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-07 06:26:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:18 -0500
commit179927fea5897a3e995015bc2c9543c12eed8571 (patch)
tree9d4a03d77be004290873c0ef02e524bd91370b0e
parent7c3fc18315645f2f7a31732c0b1505a2bef29cb7 (diff)
downloadsamba-179927fea5897a3e995015bc2c9543c12eed8571.tar.gz
samba-179927fea5897a3e995015bc2c9543c12eed8571.tar.bz2
samba-179927fea5897a3e995015bc2c9543c12eed8571.zip
r8193: fixed the echo.js example code to work with the new syntax for rpc
calls from js. I chose the new syntax to match the C calling syntax, so if you are familiar with using the Samba4 rpc libraries from C, then using them from js should be easy (This used to be commit 757bb7f31cc85b08885d55adf6e2ce7d925c0353)
-rw-r--r--testprogs/ejs/echo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/ejs/echo.js b/testprogs/ejs/echo.js
index 3ab2d9f0c6..1579afa94f 100644
--- a/testprogs/ejs/echo.js
+++ b/testprogs/ejs/echo.js
@@ -23,7 +23,7 @@ function test_AddOne(binding)
for (i=0;i<10;i++) {
io.in.in_data = i;
- status = rpc_call(conn, "echo_AddOne", io);
+ status = dcerpc_echo_AddOne(conn, io);
print("AddOne(" + i + ")=" + io.out.out_data + "\n");
}
}