From: David Bremner Date: Fri, 15 Jul 2016 10:25:41 +0000 (-0300) Subject: lib: provide _notmuch_database_log_append X-Git-Tag: 0.23_rc0~68 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=293186d6c6b1c4d158413de5412e6b4345e94970;hp=293186d6c6b1c4d158413de5412e6b4345e94970 lib: provide _notmuch_database_log_append _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. ---