diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-27 08:50:49 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-01 10:26:08 +0200 |
commit | 50d5441e2a615fb2c44b41a777e4373901f7a2e6 (patch) | |
tree | 20f11272f6cdf5646b086ffa014808f372906b0b /src/server/telnet_server.c | |
parent | 6c137a2fc0bf53b9c0b8eda51e6f5361552b0112 (diff) | |
download | riscv-openocd-50d5441e2a615fb2c44b41a777e4373901f7a2e6.zip riscv-openocd-50d5441e2a615fb2c44b41a777e4373901f7a2e6.tar.gz riscv-openocd-50d5441e2a615fb2c44b41a777e4373901f7a2e6.tar.bz2 |
server: add support for pipes
-p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output openocd.log"'
instead. Warning logged.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server/telnet_server.c')
-rw-r--r-- | src/server/telnet_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 */ |