Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / e8 / ccdb360459f270e252f7bb081d49319037c15f
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id E527B431FDD\r
6         for <notmuch@notmuchmail.org>; Mon, 22 Sep 2014 02:54:57 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id bHXe8puv4m2O for <notmuch@notmuchmail.org>;\r
17         Mon, 22 Sep 2014 02:54:50 -0700 (PDT)\r
18 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com\r
19         [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 0856F431FBC\r
22         for <notmuch@notmuchmail.org>; Mon, 22 Sep 2014 02:54:49 -0700 (PDT)\r
23 Received: by mail-wi0-f177.google.com with SMTP id q5so2606655wiv.4\r
24         for <notmuch@notmuchmail.org>; Mon, 22 Sep 2014 02:54:48 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
28         :references:in-reply-to:references;\r
29         bh=XIhOZBJgnqOmVPNAOevVVWG9yl/AJwcyVgfxbZ/aOik=;\r
30         b=FWux+zdfeMdAyWE9cio63erpwJCYaqUA9+eoPG2QFGYCw4hiRbtmlMdMdwFnYNEb1J\r
31         dnyj1Z97ie1IImaNxM92Q4tvQ507NUZYhh3ibe1hIcMHSfW7lY0Cu/WfRCj4QyPkgBVN\r
32         w+BrZRJrR+edmsvmk6+xngIsgp8qcxttHV/P6sryAg7rNnT1anzWNAn+vvWzYnzGLlyk\r
33         Etz5mEpucCnwwwWG8i/Kij9giGZDeE3lmpsFwzOYzsRe4c85+6w3xsW9GtNR3C33/39x\r
34         NCMc2o5UB/QIWvzru+WXmYbNKN86g3J/C+B1Zlu4T/B83QakHkeXmJu7Sv5tAV9lSLVH\r
35         5V8Q==\r
36 X-Gm-Message-State:\r
37  ALoCoQl9Ru+LRj0JOcinrgyRdBIgRZOpuOlfURxiKkF0UkRnbCRWqKYXvbdb8K/NYGz6vi4+xW4m\r
38 X-Received: by 10.180.14.104 with SMTP id o8mr14298836wic.66.1411379688830;\r
39         Mon, 22 Sep 2014 02:54:48 -0700 (PDT)\r
40 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
41         by mx.google.com with ESMTPSA id\r
42         hi4sm11686042wjb.46.2014.09.22.02.54.48 for <multiple recipients>\r
43         (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
44         Mon, 22 Sep 2014 02:54:48 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: notmuch@notmuchmail.org\r
47 Subject: [PATCH 01/11] lib: actually return failures from\r
48         notmuch_message_tags_to_maildir_flags\r
49 Date: Mon, 22 Sep 2014 11:54:52 +0200\r
50 Message-Id:\r
51  <3edd34db5c4db9da9a3b0c46800126c24c334f39.1411379395.git.jani@nikula.org>\r
52 X-Mailer: git-send-email 1.7.2.5\r
53 In-Reply-To: <cover.1411379395.git.jani@nikula.org>\r
54 References: <cover.1411379395.git.jani@nikula.org>\r
55 In-Reply-To: <cover.1411379395.git.jani@nikula.org>\r
56 References: <cover.1411379395.git.jani@nikula.org>\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Mon, 22 Sep 2014 09:54:58 -0000\r
70 \r
71 The function takes great care to preserve the first error status it\r
72 encounters, yet fails to return that status to the caller. Fix it.\r
73 ---\r
74  lib/message.cc |    2 +-\r
75  1 files changed, 1 insertions(+), 1 deletions(-)\r
76 \r
77 diff --git a/lib/message.cc b/lib/message.cc\r
78 index 68f7e68..7e82548 100644\r
79 --- a/lib/message.cc\r
80 +++ b/lib/message.cc\r
81 @@ -1497,7 +1497,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)\r
82      talloc_free (to_set);\r
83      talloc_free (to_clear);\r
84  \r
85 -    return NOTMUCH_STATUS_SUCCESS;\r
86 +    return status;\r
87  }\r
88  \r
89  notmuch_status_t\r
90 -- \r
91 1.7.2.5\r
92 \r