Skip to content

Commit

Permalink
lib-sieve: index extension: Fixed a bool vs. int mixup.
Browse files Browse the repository at this point in the history
Found with clang -Wstrict-bool.
  • Loading branch information
stephanbosch committed Oct 14, 2016
1 parent 8a78f04 commit 812c7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-sieve/plugins/index/tag-index.c
Expand Up @@ -211,7 +211,7 @@ static bool svmo_index_dump_context
if ( !sieve_binary_read_byte(denv->sblock, address, &last) )
return FALSE;

if (last)
if (last > 0)
sieve_code_dumpf(denv, "last");
return TRUE;
}
Expand Down

0 comments on commit 812c7fe

Please sign in to comment.