diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-01-24 00:05:38 +0200 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-01-24 20:20:04 +0800 |
commit | 683a3c7e2fcd922200c31078e5c9dd1348e90941 (patch) | |
tree | c557a14754563d280330086fe8fa0a63b9d23785 /src/xz/suffix.c | |
parent | xz: Refactor duplicated check for custom suffix when using --format=raw (diff) | |
download | xz-683a3c7e2fcd922200c31078e5c9dd1348e90941.tar.xz |
xz: Flip the return value of suffix_is_set to match the documentation.
Also edit style to match the existing coding style in the project.
Diffstat (limited to '')
-rw-r--r-- | src/xz/suffix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/suffix.c b/src/xz/suffix.c index a9cdbd8a..6ce97878 100644 --- a/src/xz/suffix.c +++ b/src/xz/suffix.c @@ -397,5 +397,5 @@ suffix_set(const char *suffix) extern bool suffix_is_set(void) { - return custom_suffix == NULL; + return custom_suffix != NULL; } |