From acd2b8bbcd773401b61f64def4585aa340cacb45 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 13 Oct 2020 19:31:12 +0200 Subject: xml2json: Fix logic misthake in recoding output --- share/xml2json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'share') diff --git a/share/xml2json b/share/xml2json index 0c4800b..8769a94 100755 --- a/share/xml2json +++ b/share/xml2json @@ -40,8 +40,7 @@ for my $station ( $tree->findnodes('//station') ) { last; } elsif ( $j_name eq $name and $j_eva != $eva ) { - printf( "%30s has been recoded: %d -> %d\n", $name, - $j_eva != $eva ); + printf( "%30s has been recoded: %d -> %d\n", $name, $j_eva, $eva ); last; } } -- cgit v1.2.3