commit | 4afe69d30b66812682a2016ee18441958019cbb2 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Sun Jan 26 14:49:22 2020 +0200 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Wed Feb 05 22:00:28 2020 +0200 |
tree | 62f528ff7270e186037545eee8ebc3a2443334cc | |
parent | ec26f3ace5f9b260ca91508030f07465ae2f9f78 [diff] |
xz: coder.c: Make writing output a separate function. The same code sequence repeats so it's nicer as a separate function. Note that in one case there was no test for opt_mode != MODE_TEST, but that was only because that condition would always be true, so this commit doesn't change the behavior there.