diff options
Diffstat (limited to 'src/server/telnet_server.c')
-rw-r--r-- | src/server/telnet_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c index 4355f8a6..82b7330e 100644 --- a/src/server/telnet_server.c +++ b/src/server/telnet_server.c @@ -130,7 +130,7 @@ void telnet_log_callback(void *priv, const char *file, int line, /* put the command line to its previous state */ telnet_prompt(connection); telnet_write(connection, t_con->line, t_con->line_size); - for (i=t_con->line_size; i>t_con->line_cursor; i--) + for (i = t_con->line_size; i>t_con->line_cursor; i--) telnet_write(connection, "\b", 1); } |