Skip to content

Commit

Permalink
disables picoquicdemo stdout buffering.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfstco committed Jul 7, 2024
1 parent cb3ef10 commit 95d5de4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions picoquicfirst/picoquicdemo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,9 @@ int main(int argc, char** argv)
int is_client = 0;
int ret;

/* Disable stdout buffering. */
setvbuf(stdout, NULL, _IONBF, 0);

#ifdef _WINDOWS
WSADATA wsaData = { 0 };
(void)WSA_START(MAKEWORD(2, 2), &wsaData);
Expand Down

0 comments on commit 95d5de4

Please sign in to comment.