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 arlo.cworth.org (Postfix) with ESMTP id 18B6F6DE14C7
\r
6 for <notmuch@notmuchmail.org>; Fri, 4 Sep 2015 11:49:23 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.492 tagged_above=-999 required=5 tests=[AWL=0.228,
\r
12 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id oadNhCM86-GP for <notmuch@notmuchmail.org>;
\r
17 Fri, 4 Sep 2015 11:49:21 -0700 (PDT)
\r
18 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 2698E6DE1472
\r
21 for <notmuch@notmuchmail.org>; Fri, 4 Sep 2015 11:49:21 -0700 (PDT)
\r
22 Received: by wicge5 with SMTP id ge5so26321556wic.0
\r
23 for <notmuch@notmuchmail.org>; Fri, 04 Sep 2015 11:49:19 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id;
\r
27 bh=EJrIS+RlC8R1aZRdV96IhDZjsS8aBaYHdtNfC3m9h2E=;
\r
28 b=avn7uOG4IJdtphiSuq4vUCvQxWQie2A2ulPG0i6b1W6FfMhu0EGfwPQzMLQY0UjCQU
\r
29 YnxvpF7xttdChuNCUNkWVzuvPI4YLy4ZElDf6X7Uyo5JknD3C4HuHojRVcQwPLPnTZ9Q
\r
30 a/XE053YIxgkOoSegLKiYz+m34ANOJCwEcgmG3xIj72ZqBpzwV0vDzJF5GkI5JQDC1Ab
\r
31 rvP4dj88nzjPNrZp45wQ4OUOk/8AmPRhxa0WDzFA6hyUT5iMI+4ULsobwzaICPhmlYYN
\r
32 VSOZ6AtWxVAMkeXj8UW+zWheeGy6+bFWW6R7zi1EhfHfKVyBQjtMijHt8UVPn6LdmetT
\r
35 ALoCoQmy/g9/IYu4fowlhv39qwBe4JYoKHYloBeV9Fjee6jmD1kj6WLMGY3CKrTrM28swKClNqmT
\r
36 X-Received: by 10.194.21.98 with SMTP id u2mr10167602wje.141.1441392559750;
\r
37 Fri, 04 Sep 2015 11:49:19 -0700 (PDT)
\r
38 Received: from localhost (mobile-access-bcee4f-131.dhcp.inet.fi.
\r
40 by smtp.gmail.com with ESMTPSA id u8sm5672719wia.19.2015.09.04.11.49.18
\r
41 (version=TLSv1/SSLv3 cipher=OTHER);
\r
42 Fri, 04 Sep 2015 11:49:19 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH 1/2] test: fix whitespace/indentation in symbol-test
\r
46 Date: Fri, 4 Sep 2015 21:49:14 +0300
\r
47 Message-Id: <1441392555-20056-1-git-send-email-jani@nikula.org>
\r
48 X-Mailer: git-send-email 2.1.4
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.18
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Fri, 04 Sep 2015 18:49:23 -0000
\r
63 Not of much consequence, but makes it nicer to do further edits.
\r
65 test/symbol-test.cc | 34 ++++++++++++++++++----------------
\r
66 1 file changed, 18 insertions(+), 16 deletions(-)
\r
68 diff --git a/test/symbol-test.cc b/test/symbol-test.cc
\r
69 index fb77b418a1a8..77dbc1af44b2 100644
\r
70 --- a/test/symbol-test.cc
\r
71 +++ b/test/symbol-test.cc
\r
74 #include <notmuch.h>
\r
76 +int main (int argc, char** argv)
\r
78 + notmuch_database_t *notmuch;
\r
79 + char *message = NULL;
\r
81 -int main(int argc, char** argv) {
\r
82 - notmuch_database_t *notmuch;
\r
83 - char *message = NULL;
\r
84 + if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
\r
85 + ¬much, &message)) {
\r
87 + fputs (message, stderr);
\r
92 - if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY, ¬much, &message))
\r
94 - fputs (message, stderr);
\r
98 + (void) new Xapian::WritableDatabase (argv[2], Xapian::DB_OPEN);
\r
99 + } catch (const Xapian::Error &error) {
\r
100 + printf("caught %s\n", error.get_msg().c_str());
\r
105 - (void) new Xapian::WritableDatabase(argv[2], Xapian::DB_OPEN);
\r
106 - } catch (const Xapian::Error &error) {
\r
107 - printf("caught %s\n", error.get_msg().c_str());
\r