diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gnunet-logread | 2 | ||||
-rwxr-xr-x | contrib/gnunet-logread-ipc-sdedit | 1 |
2 files changed, 2 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) = |
diff --git a/contrib/gnunet-logread-ipc-sdedit b/contrib/gnunet-logread-ipc-sdedit index e482eee30..197e6f575 100755 --- a/contrib/gnunet-logread-ipc-sdedit +++ b/contrib/gnunet-logread-ipc-sdedit | |||
@@ -36,6 +36,7 @@ print $sdedit "\n"; | |||
36 | 36 | ||
37 | mkfifo $ipc, 0600 or die "$ipc: $!\n" unless -e $ipc; | 37 | mkfifo $ipc, 0600 or die "$ipc: $!\n" unless -e $ipc; |
38 | open IPC, '<', $ipc or die "$ipc: $!\n"; | 38 | open IPC, '<', $ipc or die "$ipc: $!\n"; |
39 | $| = 1; | ||
39 | while (<IPC>) | 40 | while (<IPC>) |
40 | { | 41 | { |
41 | print; | 42 | print; |