summaryrefslogtreecommitdiffstats
path: root/common/sys/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sys/telnet.c')
-rw-r--r--common/sys/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/telnet.c b/common/sys/telnet.c
index b0c5f1d7..2f462867 100644
--- a/common/sys/telnet.c
+++ b/common/sys/telnet.c
@@ -79,7 +79,7 @@ void telnet_send_init_cmds(int fd)
write(fd, telnet_init_cmds, sizeof(telnet_init_cmds));
}
-ssize_t telnet_process(TelnetCtx *ctx, unsigned char *buf, size_t size)
+ssize_t telnet_process(TelnetCtx *ctx, unsigned char *buf, ssize_t size)
{
/* process buffer */
if (size > 0) {