[PATCH] Return error status from notmuch_message_tags_to_maildir_flags().
authorRob Browning <rlb@defaultvalue.org>
Tue, 15 Feb 2011 06:07:59 +0000 (00:07 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:54 +0000 (09:37 -0800)
67/169c02f180eef6891d0ccd95dba544d5ce1339 [new file with mode: 0644]

diff --git a/67/169c02f180eef6891d0ccd95dba544d5ce1339 b/67/169c02f180eef6891d0ccd95dba544d5ce1339
new file mode 100644 (file)
index 0000000..6e21386
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <rlb@defaultvalue.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 502E5431FB5\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Feb 2011 22:08:04 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id SPeTOwigK-3O for <notmuch@notmuchmail.org>;\r
+       Mon, 14 Feb 2011 22:08:02 -0800 (PST)\r
+Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
+       by olra.theworths.org (Postfix) with ESMTP id B99AB431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Feb 2011 22:08:02 -0800 (PST)\r
+Received: from trouble.defaultvalue.org (localhost [127.0.0.1])\r
+       (Authenticated sender: rlb@defaultvalue.org)\r
+       by defaultvalue.org (Postfix) with ESMTPSA id 780E290D35;\r
+       Tue, 15 Feb 2011 00:08:11 -0600 (CST)\r
+Received: by trouble.defaultvalue.org (Postfix, from userid 1000)\r
+       id DA24F14E449; Tue, 15 Feb 2011 00:07:59 -0600 (CST)\r
+From: Rob Browning <rlb@defaultvalue.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] Return error status from\r
+       notmuch_message_tags_to_maildir_flags().\r
+Date: Tue, 15 Feb 2011 00:07:59 -0600\r
+Message-Id: <b526f37593c021805e62f1a061a49ea20f09df0f.1297749638.git.rlb@defaultvalue.org>\r
+X-Mailer: git-send-email 1.7.2.3\r
+In-Reply-To: <cover.1297749638.git.rlb@defaultvalue.org>\r
+References: <cover.1297749638.git.rlb@defaultvalue.org>\r
+In-Reply-To: <cover.1297749638.git.rlb@defaultvalue.org>\r
+References: <cover.1297749638.git.rlb@defaultvalue.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 15 Feb 2011 06:08:04 -0000\r
+\r
+Signed-off-by: Rob Browning <rlb@defaultvalue.org>\r
+---\r
+ lib/message.cc |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/lib/message.cc b/lib/message.cc\r
+index 0590f76..979fad5 100644\r
+--- a/lib/message.cc\r
++++ b/lib/message.cc\r
+@@ -1252,7 +1252,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)\r
+     talloc_free (to_set);\r
+     talloc_free (to_clear);\r
\r
+-    return NOTMUCH_STATUS_SUCCESS;\r
++    return status;\r
+ }\r
\r
+ notmuch_status_t\r
+-- \r
+1.7.2.3\r
+\r