Skip to content

Commit

Permalink
Server response includes newline
Browse files Browse the repository at this point in the history
  • Loading branch information
smuehlst committed Feb 16, 2024
1 parent 747d97d commit 2bf9960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/05-smoketest/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2bf9960

Please sign in to comment.