[dovecot/core] f32382: lib-storage: Once hooks have run, set vlast to NUL...

GitHub noreply at github.com
Fri Feb 3 15:00:11 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f32382d2da479a4371e08c443679528db37ea988
      https://github.com/dovecot/core/commit/f32382d2da479a4371e08c443679528db37ea988
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-03 (Fri, 03 Feb 2017)

  Changed paths:
    M src/lib-storage/mail-storage-hooks.c

  Log Message:
  -----------
  lib-storage: Once hooks have run, set vlast to NULL to make sure it's not used

The functions can't be correctly overridden outside their own specific
hooks. It would work only if hook_build_update() is called afterwards and
currently there's no public API for that.




More information about the dovecot-cvs mailing list