mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-24 11:44:17 -05:00
udplogserver: Flush output buffer when sent a message
* Because we are no longer adding a new line, which automatically flushes the buffer.
This commit is contained in:
@@ -91,6 +91,7 @@ int main(int argc, char **argv)
|
||||
if (recvd > 0) {
|
||||
buffer[recvd] = 0;
|
||||
std::cout << buffer;
|
||||
std::cout.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user