Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 8d / 35750f6e0aac10436f4718774a0260840a0856
1 Return-Path: <schnouki@schnouki.net>\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 58D0A431FAE\r
6         for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 16:06:38 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         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 NlJtqj5NI4Cm for <notmuch@notmuchmail.org>;\r
17         Thu, 19 Jan 2012 16:06:37 -0800 (PST)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id C96E9431FAF\r
20         for <notmuch@notmuchmail.org>; Thu, 19 Jan 2012 16:06:37 -0800 (PST)\r
21 Received: from odin.local (nancy.schnouki.net [78.238.0.45])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 565AD6C000B;\r
23         Fri, 20 Jan 2012 01:06:30 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1327017990;\r
26         bh=sGUgKrRkvWOHhr2dGoQEL2FOO+aYufcSeDnImmeUeK4=;\r
27         h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=Xhf3eyJjLBbgrZYaKKR7QuQdiOPRPOBGqhhMSka1fHPnTaidDmK9/A8nOBayD4827\r
29         fW4Lgf5LaVITcikqrFqrkXcnc5fa9+VpibooPuAGdkJs0j1rCTANl8gf+ZPwjUGpST\r
30         FYJLQFrPNRwFns7jCXaqt6Y/s1QnajQccHCFnP8o=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v3 1/2] show: don't use hex literals in JSON output\r
34 Date: Fri, 20 Jan 2012 01:06:26 +0100\r
35 Message-Id: <1327017987-3361-2-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.8.4\r
37 In-Reply-To: <1327017987-3361-1-git-send-email-schnouki@schnouki.net>\r
38 References: <87ty3r2rqt.fsf@schnouki.net>\r
39         <1327017987-3361-1-git-send-email-schnouki@schnouki.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 20 Jan 2012 00:06:38 -0000\r
53 \r
54 JSON does not support hex literals (0x..) so numbers must be formatted as %d\r
55 instead of %x.\r
56 ---\r
57  notmuch-show.c |    2 +-\r
58  1 files changed, 1 insertions(+), 1 deletions(-)\r
59 \r
60 diff --git a/notmuch-show.c b/notmuch-show.c\r
61 index d14dac9..91f566c 100644\r
62 --- a/notmuch-show.c\r
63 +++ b/notmuch-show.c\r
64 @@ -641,7 +641,7 @@ format_part_sigstatus_json (const GMimeSignatureValidity* validity)\r
65                 printf (", \"keyid\": %s", json_quote_str (ctx_quote, signer->keyid));\r
66         }\r
67         if (signer->errors != GMIME_SIGNER_ERROR_NONE) {\r
68 -           printf (", \"errors\": %x", signer->errors);\r
69 +           printf (", \"errors\": %d", signer->errors);\r
70         }\r
71  \r
72         printf ("}");\r
73 -- \r
74 1.7.8.4\r
75 \r