diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-10-13 19:31:12 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-13 19:31:26 +0200 |
commit | acd2b8bbcd773401b61f64def4585aa340cacb45 (patch) | |
tree | b68f2ed1751ecb5fe7e515d646f0e6804db6ef44 /share | |
parent | 2e3564833d51939fbb865b664f8cdfdb3739b8f7 (diff) |
xml2json: Fix logic misthake in recoding output
Diffstat (limited to 'share')
-rwxr-xr-x | share/xml2json | 3 |
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; } } |