Skip to content

Commit

Permalink
Fix zipped file extension w/ zip level = 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kdm9 committed Apr 16, 2015
1 parent 1c3e2b4 commit 1c37dd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/axe.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ axe_make_file_ext(const struct axe_config *config)
if (!axe_config_ok(config)) {
return NULL;
}
if (config->out_compress_level > 1) {
if (config->out_compress_level > 0 &&
config->out_compress_level < 10) {
return strdup("fastq.gz");
}
return strdup("fastq");
Expand Down

0 comments on commit 1c37dd9

Please sign in to comment.