From 50d5441e2a615fb2c44b41a777e4373901f7a2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 27 Sep 2010 08:50:49 +0200 Subject: server: add support for pipes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output openocd.log"' instead. Warning logged. Signed-off-by: Øyvind Harboe --- src/server/telnet_server.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/server/telnet_server.c') diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index 420f5d7..00b4b5d 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -592,9 +592,7 @@ int telnet_init(char *banner) telnet_service->banner = banner; - add_service_pipe("telnet", telnet_port, 1, telnet_new_connection, telnet_input, telnet_connection_closed, telnet_service); - - return ERROR_OK; + return add_service("telnet", telnet_port, 1, telnet_new_connection, telnet_input, telnet_connection_closed, telnet_service); } /* daemon configuration command telnet_port */ -- cgit v1.1