From: Ian Jackson <ian.jack...@eu.citrix.com>

We are going to want clients to speak before waiting for the server
banner.  A noop command is useful for that.

Putting this here makes it apply to both ownerdaemon and queuedaemon.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 tcl/daemonlib.tcl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tcl/daemonlib.tcl b/tcl/daemonlib.tcl
index 1e86d5f4..747deab1 100644
--- a/tcl/daemonlib.tcl
+++ b/tcl/daemonlib.tcl
@@ -124,6 +124,10 @@ proc puts-chan {chan m} {
     puts $chan $m
 }
 
+proc cmd/noop {chan desc} {
+    puts-chan $chan "OK noop"
+}
+
 #---------- data ----------
 
 proc puts-chan-data {chan m data} {
-- 
2.20.1


Reply via email to