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

Tomi Ollila tomi.ollila at iki.fi
Mon Jan 30 06:04:42 PST 2012


On Mon, 30 Jan 2012 09:02:33 -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.
> ---
> + *     status = notmuch_database_find_message (database, message_id, &message);
> + *     if(!status && message) {
> + *          for (tags = notmuch_message_get_tags (message);

Space betweem 'if' and '('  missing.

Tomi


More information about the notmuch mailing list