summaryrefslogtreecommitdiff
path: root/swat/esptest
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-07 07:00:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:28 -0500
commit9f4444331a3c06c58c50ea10ab6ad84904c54339 (patch)
tree73d60f5b2bfac3b21426480eaff2bc856fde8542 /swat/esptest
parent0aa43d9231eedd14310317f54660edeeee303183 (diff)
downloadsamba-9f4444331a3c06c58c50ea10ab6ad84904c54339.tar.gz
samba-9f4444331a3c06c58c50ea10ab6ad84904c54339.tar.bz2
samba-9f4444331a3c06c58c50ea10ab6ad84904c54339.zip
r9176: added a much neater method of calling printf on the server from client side js. Just
use srv_printf() and normal printf arguments (This used to be commit 11c7e8db3d2501a6a439d3e3a63a5055cc577f51)
Diffstat (limited to 'swat/esptest')
-rw-r--r--swat/esptest/qooxdoo.esp5
1 files changed, 2 insertions, 3 deletions
diff --git a/swat/esptest/qooxdoo.esp b/swat/esptest/qooxdoo.esp
index dbdb4ddc7a..76d3236fc9 100644
--- a/swat/esptest/qooxdoo.esp
+++ b/swat/esptest/qooxdoo.esp
@@ -53,8 +53,7 @@
}
function start_call() {
- server_call('remote.esp', 'printf', null,
- "Starting calls ... (stopit=%d)\\n", stopit);
+ srv_printf("Starting calls ... (stopit=%d)\\n", stopit);
stopit = 0;
shared.counter = 0;
shared.start_time = 0;
@@ -62,7 +61,7 @@
};
function stop_call() {
- server_call('remote.esp', 'printf', null, "Stopping calls\\n");
+ srv_printf("Stopping calls\\n");
stopit = 1;
};