From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 43DB96DE0941 for ; Fri, 13 Jan 2017 09:51:58 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.172 X-Spam-Level: X-Spam-Status: No, score=-2.172 tagged_above=-999 required=5 tests=[AWL=0.129, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvm5-bDujvrq for ; Fri, 13 Jan 2017 09:51:57 -0800 (PST) Received: from outgoing-stata.csail.mit.edu (outgoing-stata.csail.mit.edu [128.30.2.210]) by arlo.cworth.org (Postfix) with ESMTP id 813E36DE0927 for ; Fri, 13 Jan 2017 09:51:57 -0800 (PST) Received: from 99-167-85-176.lightspeed.irvnca.sbcglobal.net ([99.167.85.176] helo=localhost) by outgoing-stata.csail.mit.edu with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cS615-000a2b-HO for notmuch@notmuchmail.org; Fri, 13 Jan 2017 12:51:55 -0500 From: Steven Allen To: notmuch@notmuchmail.org Subject: [PATCH] docs: fix notmuch_message_properties_value documentation Date: Fri, 13 Jan 2017 09:51:02 -0800 Message-Id: <20170113175102.9278-1-steven@stebalien.com> X-Mailer: git-send-email 2.11.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Fri, 13 Jan 2017 17:51:58 -0000 It returns the value, not the key. --- lib/notmuch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notmuch.h b/lib/notmuch.h index 59cd0f56..16da8be9 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1811,7 +1811,7 @@ const char * notmuch_message_properties_key (notmuch_message_properties_t *properties); /** - * Return the key from the current (key,value) pair. + * Return the value from the current (key,value) pair. * * This could be useful if iterating for a prefix. * -- 2.11.0