Skip to content

Commit

Permalink
pop3-migration: Don't change TAB to '?' when calculating header hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Jan 26, 2016
1 parent 414d4ee commit ee33544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/pop3-migration/pop3-migration-plugin.c
Expand Up @@ -210,7 +210,7 @@ int pop3_migration_get_hdr_sha1(uint32_t mail_seq, struct istream *input,
*/
for (i = start = 0; i < size; i++) {
if ((data[i] < 0x20 || data[i] >= 0x80) &&
data[i] != '\n') {
(data[i] != '\t' && data[i] != '\n')) {
sha1_loop(&sha1_ctx, data + start, i-start);
sha1_loop(&sha1_ctx, "?", 1);
start = i+1;
Expand Down

0 comments on commit ee33544

Please sign in to comment.