1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

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 commit is contained in:
Andrew Tridgell 2005-07-07 06:26:22 +00:00 committed by Gerald (Jerry) Carter
parent 14b6436cc5
commit 757bb7f31c

View File

@ -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");
}
}