1 Return-Path: <laochailan@web.de>
\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 938966DE17B5
\r
6 for <notmuch@notmuchmail.org>; Sun, 31 May 2015 05:07:59 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5 tests=[AWL=0.002,
\r
12 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01,
\r
13 RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001]
\r
15 Received: from arlo.cworth.org ([127.0.0.1])
\r
16 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id yY9VEAPGZhBy for <notmuch@notmuchmail.org>;
\r
18 Sun, 31 May 2015 05:07:58 -0700 (PDT)
\r
19 Received: from mout.web.de (mout.web.de [212.227.15.3])
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id A22F36DE17A3
\r
21 for <notmuch@notmuchmail.org>; Sun, 31 May 2015 05:07:57 -0700 (PDT)
\r
22 Received: from localhost ([92.204.48.23]) by smtp.web.de (mrweb003) with
\r
23 ESMTPSA (Nemesis) id 0MHGdf-1YuJ7R04fr-00E9gg; Sun, 31 May 2015 14:02:50
\r
25 From: laochailan <laochailan@web.de>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: [PATCH 4/5] fixed more wrongly initialized constants
\r
28 Date: Sun, 31 May 2015 14:02:14 +0200
\r
29 Message-Id: <1433073735-7721-5-git-send-email-laochailan@web.de>
\r
30 X-Mailer: git-send-email 2.4.2
\r
31 In-Reply-To: <1433073735-7721-1-git-send-email-laochailan@web.de>
\r
32 References: <1433073735-7721-1-git-send-email-laochailan@web.de>
\r
33 X-Provags-ID: V03:K0:TXoT6VO4eRXpWkn0UVyp1WrJHbh1ffublExXp1AZy3e6r5IrMRe
\r
34 2el28ULZmji9NFCr37AjzTRmHzbrKTa+QKiLBipQ5U8Iyh/tEk8O1WJ2Gc34bxhpPowiMLf
\r
35 hyqZELaY7+x2zD2YN26bZNOOzgfxJzwox1jL1y5jNOLXP7GvmIn73IyTYZeC4rlLBDlXegm
\r
36 XHWtTnEmYDkJLWit+XEVg==
\r
37 X-UI-Out-Filterresults: notjunk:1;
\r
38 X-Mailman-Approved-At: Mon, 01 Jun 2015 09:14:44 -0700
\r
39 Cc: laochailan <laochailan@web.de>
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.18
\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: Sun, 31 May 2015 12:07:59 -0000
\r
54 In Go, '= 0' at the beginning means everything is set to zero.
\r
56 bindings/go/src/notmuch/notmuch.go | 4 ++--
\r
57 1 file changed, 2 insertions(+), 2 deletions(-)
\r
59 diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go
\r
60 index 741fabf..d664287 100644
\r
61 --- a/bindings/go/src/notmuch/notmuch.go
\r
62 +++ b/bindings/go/src/notmuch/notmuch.go
\r
63 @@ -378,7 +378,7 @@ func (self *Database) CreateQuery(query string) *Query {
\r
64 type Sort C.notmuch_sort_t
\r
67 - SORT_OLDEST_FIRST Sort = 0
\r
68 + SORT_OLDEST_FIRST Sort = iota
\r
72 @@ -985,7 +985,7 @@ func (self *Message) GetFileName() string {
\r
73 type Flag C.notmuch_message_flag_t
\r
76 - MESSAGE_FLAG_MATCH Flag = 0
\r
77 + MESSAGE_FLAG_MATCH Flag = iota
\r
80 // Get a value of a flag for the email corresponding to 'message'.
\r