[dovecot/core] 75891a: lib-mail: refactor header filter test code

GitHub noreply at github.com
Thu Dec 29 15:30:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 75891a354ed229a4e56bbb0eceab75a0d1278687
      https://github.com/dovecot/core/commit/75891a354ed229a4e56bbb0eceab75a0d1278687
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-12-28 (Wed, 28 Dec 2016)

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

  Log Message:
  -----------
  lib-mail: refactor header filter test code


  Commit: 69eb1a17f443454e0b3025f86f428671ace06e89
      https://github.com/dovecot/core/commit/69eb1a17f443454e0b3025f86f428671ace06e89
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-12-28 (Wed, 28 Dec 2016)

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

  Log Message:
  -----------
  lib-mail: header filter should call callback for added EOH

If we add a EOH because there wasn't one and
HEADER_FILTER_ADD_MISSING_EOH was specified, we should invoke the
callback for it.  Otherwise, it is unnecessarily difficult for consumers
to add a header since there is no way to know if EOH will be present
ahead of time.


Compare: https://github.com/dovecot/core/compare/27de85bc0361...69eb1a17f443


More information about the dovecot-cvs mailing list