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

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


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

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

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


  Commit: 34f7cc3df6371ac386848e730f16a072fb7ad673
      https://github.com/dovecot/core/commit/34f7cc3df6371ac386848e730f16a072fb7ad673
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-12-29 (Thu, 29 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/c8a0f015ffbe...34f7cc3df637


More information about the dovecot-cvs mailing list