From 5e98acb5ba47129fe3d9edcf1b400c3cdacc0838 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 11 May 2010 18:27:18 +0200 Subject: Fix --ignore-info handling, add more parser tests --- bin/efa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/efa b/bin/efa index 01b66d3..4c4702f 100755 --- a/bin/efa +++ b/bin/efa @@ -186,7 +186,7 @@ sub show_content { foreach my $part (@{$connection}) { foreach (@{$part->{extra}}) { - if (not (defined $ignore_info and $_ =~ /$ignore_info/i)) { + if (not (length($ignore_info) and $_ =~ /$ignore_info/i)) { print "# $_\n"; } } -- cgit v1.2.3