From 179927fea5897a3e995015bc2c9543c12eed8571 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Jul 2005 06:26:22 +0000 Subject: 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) --- testprogs/ejs/echo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testprogs/ejs') 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"); } } -- cgit