]> git.notmuchmail.org Git - notmuch/commitdiff
lib: provide _notmuch_database_log_append
authorDavid Bremner <david@tethera.net>
Fri, 15 Jul 2016 10:25:41 +0000 (07:25 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 9 Aug 2016 00:34:11 +0000 (09:34 +0900)
_notmuch_database_log clears the log buffer each time. Rather than
introducing more complicated semantics about for this function, provide
a second function that does not clear the buffer. This is mainly a
convenience function for callers constructing complex or multi-line log
messages.

The changes to query.cc are to make sure that the common code path of
the new function is tested.


No differences found