Skip to content

Commit

Permalink
Tweak fix when no compression is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent 7cb761f commit cd43f74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/filed/compression.c
Expand Up @@ -78,6 +78,11 @@ void adjust_compression_buffers(JCR *jcr)
for (j = 0; j < incexe->opts_list.size(); j++) {
findFOPTS *fo = (findFOPTS *)incexe->opts_list.get(j);
switch (fo->Compress_algo) {
case 0:
/*
* No compression requested.
*/
break;
#ifdef HAVE_LIBZ
case COMPRESS_GZIP: {
/**
Expand Down

0 comments on commit cd43f74

Please sign in to comment.