aboutsummaryrefslogtreecommitdiff
path: root/src/server/telnet_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/telnet_server.c')
-rw-r--r--src/server/telnet_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c
index cf74344f..4355f8a6 100644
--- a/src/server/telnet_server.c
+++ b/src/server/telnet_server.c
@@ -120,7 +120,7 @@ void telnet_log_callback(void *priv, const char *file, int line,
/* clear the command line */
telnet_write(connection, "\r", 1);
- for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i-=16)
+ for (i = strlen(t_con->prompt) + t_con->line_size; i>0; i -= 16)
telnet_write(connection, " ", i>16 ? 16 : i);
telnet_write(connection, "\r", 1);