diff options
author | Simon Rettberg | 2019-11-30 10:37:47 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-30 10:37:47 +0100 |
commit | 0f73434a84cb3105f260749e4b09e6a4f6a3ee19 (patch) | |
tree | ff8445c73d93bdace5f2a8e42df81cd4f5118be9 /jawol.c | |
parent | Formatting (diff) | |
download | jawol-29r2.tar.gz jawol-29r2.tar.xz jawol-29r2.zip |
Diffstat (limited to 'jawol.c')
-rw-r--r-- | jawol.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -159,6 +159,8 @@ int main(int argc, char **argv) return 1; } if ( dolisten ) { + // Make stdout line buffered, in case this gets piped through something + setvbuf( stdout, NULL, _IOLBF, 500 ); return wolisten( dolisten > 1 ); } if ( gotip && gotif ) { |