From 4af724df238eb30569c2845b6160ef4e7f894ad1 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 24 Mar 2010 13:45:29 +0800 Subject: [PATCH] telnet_server: review unused symbols Remove unused function Signed-off-by: Antonio Borneo --- src/server/telnet_server.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index 46c88367..10caee31 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -580,18 +580,6 @@ static int telnet_connection_closed(struct connection *connection) return ERROR_OK; } -int telnet_set_prompt(struct connection *connection, char *prompt) -{ - struct telnet_connection *t_con = connection->priv; - - if (t_con->prompt != NULL) - free(t_con->prompt); - - t_con->prompt = strdup(prompt); - - return ERROR_OK; -} - int telnet_init(char *banner) { struct telnet_service *telnet_service = malloc(sizeof(struct telnet_service)); -- 2.39.5