summaryrefslogtreecommitdiff
path: root/share/xml2json
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-13 19:31:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-13 19:31:26 +0200
commitacd2b8bbcd773401b61f64def4585aa340cacb45 (patch)
treeb68f2ed1751ecb5fe7e515d646f0e6804db6ef44 /share/xml2json
parent2e3564833d51939fbb865b664f8cdfdb3739b8f7 (diff)
xml2json: Fix logic misthake in recoding output
Diffstat (limited to 'share/xml2json')
-rwxr-xr-xshare/xml2json3
1 files changed, 1 insertions, 2 deletions
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;
}
}