openbsd-ports/security/swatch/patches/patch-swatch

13 lines
408 B
Plaintext

$OpenBSD: patch-swatch,v 1.6 2009/01/10 21:47:38 rui Exp $
--- swatch.orig Tue Jul 1 19:18:31 2008
+++ swatch Wed Jan 7 20:00:12 2009
@@ -151,7 +151,7 @@ sub parse_command_line {
sub dprint {
my $msg_lev = shift;
my $msg = shift;
- print STDERR "DEBUG($msg_lev): $msg\n" if ($msg_lev & $opt_debug_level);
+ print STDERR "DEBUG($msg_lev): $msg\n" if ($msg_lev && $opt_debug_level);
}