Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6B317431E64 for ; Sun, 29 Jan 2012 23:53:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NNkVwKyLO9ji for ; Sun, 29 Jan 2012 23:53:14 -0800 (PST) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id CB1C3431FBC for ; Sun, 29 Jan 2012 23:53:13 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id DE66C68056; Mon, 30 Jan 2012 09:53:16 +0200 (EET) From: Tomi Ollila To: Allan Wind , notmuch@notmuchmail.org Subject: Re: [PATCH] lib: update notmuch_tags_get examle to reflect api change In-Reply-To: <1327850941-12441-1-git-send-email-allan_wind@lifeintegrity.com> References: <1327850941-12441-1-git-send-email-allan_wind@lifeintegrity.com> User-Agent: Notmuch/0.11+116~g34d80c9 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 07:53:14 -0000 On Sun, 29 Jan 2012 10:29:01 -0500, Allan Wind 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