[dovecot/core] 049e3e: lib-imap-storage: Minor error logging cleanup/fix.

GitHub noreply at github.com
Wed May 18 17:30:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 049e3eaf84424e43576bcb70f62eeebd58364f40
      https://github.com/dovecot/core/commit/049e3eaf84424e43576bcb70f62eeebd58364f40
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M src/lib-imap-storage/imap-msgpart.c

  Log Message:
  -----------
  lib-imap-storage: Minor error logging cleanup/fix.

We read from input, not from mail_input. In theory it could have the actual
error instead of mail_input (although right now it couldn't).


  Commit: 333602c4048025afffabfbc57be2df6fc0ac7f4b
      https://github.com/dovecot/core/commit/333602c4048025afffabfbc57be2df6fc0ac7f4b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M src/lib-imap-storage/imap-msgpart.c

  Log Message:
  -----------
  lib-imap-storage: Don't double-filter HEADER.FIELDS (..) headers.


  Commit: 3f75daca243aed043737496b2bef9892d87659fc
      https://github.com/dovecot/core/commit/3f75daca243aed043737496b2bef9892d87659fc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M src/lib-mail/message-size.c

  Log Message:
  -----------
  lib-mail: Added asserts to message_get_*_size()


  Commit: 07bba7cf547c26c6f46f23bb84b6cab919b4ae0c
      https://github.com/dovecot/core/commit/07bba7cf547c26c6f46f23bb84b6cab919b4ae0c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/test-istream-header-filter.c

  Log Message:
  -----------
  lib-mail: istream-header-filter - Don't return -2 too early

We returned -2 after we already added the data to the buffer. We should
have returned -2 only on the next read() call if nothing was skipped.


Compare: https://github.com/dovecot/core/compare/56f5cea321c8...07bba7cf547c


More information about the dovecot-cvs mailing list