mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
force STDOUT buffer flush on newline
This commit is contained in:
parent
012b4a92fd
commit
87a2900bae
1 changed files with 2 additions and 0 deletions
|
@ -252,6 +252,8 @@ void attachNewBufferToAgent(Agent *newAgent) {
|
|||
|
||||
int main(int argc, const char * argv[])
|
||||
{
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
|
||||
ssize_t receivedBytes = 0;
|
||||
|
||||
agentList.linkedDataCreateCallback = attachNewBufferToAgent;
|
||||
|
|
Loading…
Reference in a new issue