mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 11:28:13 +01: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:
parent
45f3cd71ab
commit
ac4ce95f84
@ -91,6 +91,7 @@ int main(int argc, char **argv)
|
||||
if (recvd > 0) {
|
||||
buffer[recvd] = 0;
|
||||
std::cout << buffer;
|
||||
std::cout.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user