Re: SMIME signature verification patches, v4
[notmuch-archives.git] / 97 / 877b6c03a2f9cd0ca90bf4a32527779db9717a
1 Return-Path: <aidecoe@aidecoe.name>\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 DC0E6429E34\r
6         for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:35:01 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 745IT4ZEXMIa for <notmuch@notmuchmail.org>;\r
16         Fri, 25 Nov 2011 07:35:01 -0800 (PST)\r
17 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
18         [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id B6483429E28\r
21         for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:35:00 -0800 (PST)\r
22 Received: by mail-bw0-f53.google.com with SMTP id q10so4897701bka.26\r
23         for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 07:35:00 -0800 (PST)\r
24 Received: by 10.204.157.27 with SMTP id z27mr32461606bkw.37.1322235300143;\r
25         Fri, 25 Nov 2011 07:35:00 -0800 (PST)\r
26 Received: from localhost (abtw56.neoplus.adsl.tpnet.pl. [83.8.168.56])\r
27         by mx.google.com with ESMTPS id z3sm28899503faf.13.2011.11.25.07.34.58\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Fri, 25 Nov 2011 07:34:59 -0800 (PST)\r
30 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>\r
31 To: notmuch@notmuchmail.org\r
32 Subject: [PATCH 3/3] Whitespaces cleanup.\r
33 Date: Fri, 25 Nov 2011 16:34:48 +0100\r
34 Message-Id: <1322235288-12151-2-git-send-email-aidecoe@aidecoe.name>\r
35 X-Mailer: git-send-email 1.7.8.rc3\r
36 In-Reply-To: <1322235288-12151-1-git-send-email-aidecoe@aidecoe.name>\r
37 References: <8762i8bbb2.fsf@convex-new.cs.unb.ca>\r
38         <1322235288-12151-1-git-send-email-aidecoe@aidecoe.name>\r
39 Cc: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>\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, 25 Nov 2011 15:35:02 -0000\r
53 \r
54 ---\r
55  test/symbol-test.cc |   13 +++++++------\r
56  1 files changed, 7 insertions(+), 6 deletions(-)\r
57 \r
58 diff --git a/test/symbol-test.cc b/test/symbol-test.cc\r
59 index ec250b2..1548ca4 100644\r
60 --- a/test/symbol-test.cc\r
61 +++ b/test/symbol-test.cc\r
62 @@ -1,16 +1,17 @@\r
63  #include <stdio.h>\r
64  #include <xapian.h>\r
65  #include <notmuch.h>\r
66 -int main (){\r
67  \r
68 -  (void)notmuch_database_open ("fakedb",\r
69 -                                    NOTMUCH_DATABASE_MODE_READ_ONLY);\r
70  \r
71 -  try{\r
72 -    (void)new Xapian::WritableDatabase ("./nonexistant",                                       Xapian::DB_OPEN);\r
73 +int main() {\r
74 +  (void) notmuch_database_open("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY);\r
75 +\r
76 +  try {\r
77 +    (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN);\r
78    } catch (const Xapian::Error &error) {\r
79 -    printf("caught %s\n",error.get_msg().c_str());\r
80 +    printf("caught %s\n", error.get_msg().c_str());\r
81      return 0;\r
82    }\r
83 +\r
84    return 1;\r
85  }\r
86 -- \r
87 1.7.8.rc3\r
88 \r