From 5638da613db6f8adb6bdffdd6a02ad8b8624e198 Mon Sep 17 00:00:00 2001 From: benpicco Date: Wed, 7 Feb 2024 22:07:12 +0100 Subject: [PATCH] Update sys/net/application_layer/telnet/telnet_server.c Co-authored-by: Marian Buschsieweke --- sys/net/application_layer/telnet/telnet_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/application_layer/telnet/telnet_server.c b/sys/net/application_layer/telnet/telnet_server.c index 6ab40bb677a41..6512c8b2931a7 100644 --- a/sys/net/application_layer/telnet/telnet_server.c +++ b/sys/net/application_layer/telnet/telnet_server.c @@ -276,7 +276,8 @@ static void *telnet_thread(void *arg) write: if (IS_USED(MODULE_STDIO_TELNET)) { isrpipe_write_one(&stdin_isrpipe, c); - } else { + } + else { pipe_write(&_stdin_pipe, &c, 1); } }