mirror of
https://github.com/devkitPro/wut.git
synced 2026-04-20 08:17:34 -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:
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