[PATCH 08/25] create and set temporary home directory
[notmuch-archives.git] / 69 / a2546134fc5694395444cc1edd50c38924eaf0
1 Return-Path: <BATV+3d395db9405134d2e00f+2417+infradead.org+hohndel@bombadil.srs.infradead.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 olra.theworths.org (Postfix) with ESMTP id 8E3F24196F4\r
6         for <notmuch@notmuchmail.org>; Tue,  6 Apr 2010 15:36:27 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -4.2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham\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 fmSYA5gqTKRk for <notmuch@notmuchmail.org>;\r
16         Tue,  6 Apr 2010 15:36:26 -0700 (PDT)\r
17 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2BE0B4196F0\r
19         for <notmuch@notmuchmail.org>; Tue,  6 Apr 2010 15:36:26 -0700 (PDT)\r
20 Received: from localhost ([::1] helo=localhost.localdomain)\r
21         by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux))\r
22         id 1NzHNh-00055S-Kd\r
23         for notmuch@notmuchmail.org; Tue, 06 Apr 2010 22:36:25 +0000\r
24 Received: by localhost.localdomain (Postfix, from userid 500)\r
25         id 1ED1DC00DB; Tue,  6 Apr 2010 15:36:25 -0700 (PDT)\r
26 From: Dirk Hohndel <hohndel@infradead.org>\r
27 To: notmuch@notmuchmail.org\r
28 Subject: [PATCH] fix obvious cut and paste error\r
29 Date: Tue, 06 Apr 2010 15:36:25 -0700\r
30 Message-ID: <m3k4skxl7a.fsf@x200.gr8dns.org>\r
31 MIME-Version: 1.0\r
32 Content-Type: text/plain; charset=us-ascii\r
33 X-SRS-Rewrite: SMTP reverse-path rewritten from <hohndel@infradead.org> by\r
34         bombadil.infradead.org See http://www.infradead.org/rpr.html\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Tue, 06 Apr 2010 22:36:27 -0000\r
48 \r
49 \r
50 the wrong variable is checked for success of an allocation\r
51 \r
52 Signed-off-by: Dirk Hohndel <hohndel@infradead.org>\r
53 ---\r
54  lib/thread.cc |    2 +-\r
55  1 files changed, 1 insertions(+), 1 deletions(-)\r
56 \r
57 diff --git a/lib/thread.cc b/lib/thread.cc\r
58 index 1c8b39d..48c070e 100644\r
59 --- a/lib/thread.cc\r
60 +++ b/lib/thread.cc\r
61 @@ -236,7 +236,7 @@ _notmuch_thread_create (void *ctx,\r
62         return NULL;\r
63  \r
64      matched_query = notmuch_query_create (notmuch, matched_query_string);\r
65 -    if (unlikely (thread_id_query == NULL))\r
66 +    if (unlikely (matched_query == NULL))\r
67         return NULL;\r
68  \r
69      thread = talloc (ctx, notmuch_thread_t);\r
70 -- \r
71 1.6.6.1\r
72 \r
73 \r
74 \r
75 -- \r
76 Dirk Hohndel\r
77 Intel Open Source Technology Center\r