From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DC0E6429E34 for ; Fri, 25 Nov 2011 07:35:01 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 745IT4ZEXMIa for ; Fri, 25 Nov 2011 07:35:01 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B6483429E28 for ; Fri, 25 Nov 2011 07:35:00 -0800 (PST) Received: by mail-bw0-f53.google.com with SMTP id q10so4897701bka.26 for ; Fri, 25 Nov 2011 07:35:00 -0800 (PST) Received: by 10.204.157.27 with SMTP id z27mr32461606bkw.37.1322235300143; Fri, 25 Nov 2011 07:35:00 -0800 (PST) Received: from localhost (abtw56.neoplus.adsl.tpnet.pl. [83.8.168.56]) by mx.google.com with ESMTPS id z3sm28899503faf.13.2011.11.25.07.34.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Nov 2011 07:34:59 -0800 (PST) From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= To: notmuch@notmuchmail.org Subject: [PATCH 3/3] Whitespaces cleanup. Date: Fri, 25 Nov 2011 16:34:48 +0100 Message-Id: <1322235288-12151-2-git-send-email-aidecoe@aidecoe.name> X-Mailer: git-send-email 1.7.8.rc3 In-Reply-To: <1322235288-12151-1-git-send-email-aidecoe@aidecoe.name> References: <8762i8bbb2.fsf@convex-new.cs.unb.ca> <1322235288-12151-1-git-send-email-aidecoe@aidecoe.name> Cc: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 15:35:02 -0000 --- test/symbol-test.cc | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index ec250b2..1548ca4 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,16 +1,17 @@ #include #include #include -int main (){ - (void)notmuch_database_open ("fakedb", - NOTMUCH_DATABASE_MODE_READ_ONLY); - try{ - (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN); +int main() { + (void) notmuch_database_open("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); + + try { + (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN); } catch (const Xapian::Error &error) { - printf("caught %s\n",error.get_msg().c_str()); + printf("caught %s\n", error.get_msg().c_str()); return 0; } + return 1; } -- 1.7.8.rc3