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

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

Date: Mon, 30 Jan 2012 09:53:16 +0200

To: Allan Wind, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sun, 29 Jan 2012 10:29:01 -0500, Allan Wind <allan_wind@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

Thread: