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 55A6E41ED82 for ; Mon, 30 Jan 2012 06:04:43 -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 JFkt6H3TGyzP for ; Mon, 30 Jan 2012 06:04:42 -0800 (PST) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id 1CC2041ED81 for ; Mon, 30 Jan 2012 06:04:41 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id 765E268056; Mon, 30 Jan 2012 16:04:42 +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: <1327932153-22088-1-git-send-email-allan_wind@lifeintegrity.com> References: <1327932153-22088-1-git-send-email-allan_wind@lifeintegrity.com> User-Agent: Notmuch/0.11+129~g3b527ae (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 14:04:43 -0000 On Mon, 30 Jan 2012 09:02:33 -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. > --- > + * 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