[PATCH] lib: update notmuch_tags_get examle to reflect api change

Tomi Ollila tomi.ollila at iki.fi
Sun Jan 29 23:53:16 PST 2012


On Sun, 29 Jan 2012 10:29:01 -0500, Allan Wind <allan_wind at lifeintegrity.com> wrote:
> The function notmuch_database_find_message_by_filename now requires a
> notmuch_message_t and returns a notmuch_status_t.  This
> change was introduced with 02a3076711, LIBNOTMUCH_VERSION_MAJOR = 2,
> version 0.9.
> ---

Good, but

[ ... ]

> - *         ....
> + *     status = notmuch_database_find_message (database, message_id, &message);
> + *     if(!status && message) {
> + *          for (tags = notmuch_message_get_tags (message);

space missing between 'if' and '('

Tomi


More information about the notmuch mailing list