From 2bf99602dcd71744fc4a37f8207bdff4448157cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChlstrasser?= Date: Fri, 16 Feb 2024 21:22:10 +0100 Subject: [PATCH] Server response includes newline --- samples/05-smoketest/kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/05-smoketest/kernel.cpp b/samples/05-smoketest/kernel.cpp index 6e3c12a..05f01b6 100644 --- a/samples/05-smoketest/kernel.cpp +++ b/samples/05-smoketest/kernel.cpp @@ -892,7 +892,7 @@ void CKernel::SocketTest(void) Report("Read from socket succeeded: \"%s\"\n", buffer); - strcpy(buffer, "Response from server"); + strcpy(buffer, "Response from server\n"); auto const write_result = write(connected_fd, buffer, strlen(buffer)); if (write_result < 0) {