Skip to content

Commit

Permalink
Merge pull request #12 from enlyze/fix/dont-buffer-stdout
Browse files Browse the repository at this point in the history
Don't buffer stdout to enable live monitoring under all circumstances.
  • Loading branch information
ColinFinck authored Oct 27, 2022
2 parents 9459ffc + 761314d commit 75c71d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tool/PortSniffer-Tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ wmain(
__in wchar_t* argv[]
)
{
setbuf(stdout, NULL);
printf("**********************************************************************\n");
printf("ENLYZE PortSniffer Tool " PORTSNIFFER_VERSION_COMBINED "\n");
printf("Copyright " COPYRIGHT_YEAR_STRING " Colin Finck, ENLYZE GmbH <[email protected]>\n");
Expand Down

0 comments on commit 75c71d1

Please sign in to comment.