diff options
author | Gabor X Toth <*@tg-x.net> | 2015-05-07 12:15:16 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-05-07 12:15:16 +0000 |
commit | 229083a5e71624479fdc44a14a264fe07077e699 (patch) | |
tree | 137111049b5cd14345868b51d8350eaae70bbf02 /contrib/gnunet-logread | |
parent | 44fc5054ed8094fa028df7bae6d2c522deca04fa (diff) | |
download | gnunet-229083a5e71624479fdc44a14a264fe07077e699.tar.gz gnunet-229083a5e71624479fdc44a14a264fe07077e699.zip |
logread: no buffering
Diffstat (limited to 'contrib/gnunet-logread')
-rwxr-xr-x | contrib/gnunet-logread | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gnunet-logread b/contrib/gnunet-logread index 173ed2387..d5c8b1676 100755 --- a/contrib/gnunet-logread +++ b/contrib/gnunet-logread | |||
@@ -70,7 +70,7 @@ while (<>) | |||
70 | my $msg = exists $msgtypes{$type} ? $msgtypes{$type} : $type; | 70 | my $msg = exists $msgtypes{$type} ? $msgtypes{$type} : $type; |
71 | my $ofh = select IPC; | 71 | my $ofh = select IPC; |
72 | print IPC "$time\t$from -> $to\t$msg ($size)\n"; | 72 | print IPC "$time\t$from -> $to\t$msg ($size)\n"; |
73 | $|++; | 73 | $| = 1; |
74 | select $ofh; | 74 | select $ofh; |
75 | } | 75 | } |
76 | if (($time, $level, $msg) = | 76 | if (($time, $level, $msg) = |