diff options
author | Gabor X Toth <*@tg-x.net> | 2013-11-09 23:12:16 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-11-09 23:12:16 +0000 |
commit | ed4b19ee06f114648331fabd775c25c290dff481 (patch) | |
tree | e360912a757bf1dd6c755c56e4381c06c8cba8f5 /contrib | |
parent | 24fb6b6a3a9aef7f0338fd960e4ff168b2c1fd80 (diff) | |
download | gnunet-ed4b19ee06f114648331fabd775c25c290dff481.tar.gz gnunet-ed4b19ee06f114648331fabd775c25c290dff481.zip |
logread warning fix
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/logread.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/logread.pl b/contrib/logread.pl index 8602a83e1..a72f7232d 100755 --- a/contrib/logread.pl +++ b/contrib/logread.pl | |||
@@ -44,7 +44,9 @@ while (<>) | |||
44 | s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/ex; | 44 | s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/ex; |
45 | 45 | ||
46 | # Add message type names | 46 | # Add message type names |
47 | s/(message(?:\s+of)?\s+type\s+)(\d+)/$1 . BRIGHT_CYAN "$msgtypes{$2}" . CYAN " ($2)"/e; | 47 | s/(message(?:\s+of)?\s+type\s+)(\d+)/ |
48 | $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') . | ||
49 | CYAN " ($2)"/e; | ||
48 | 50 | ||
49 | print; | 51 | print; |
50 | } | 52 | } |