Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 30 / d4abf8143be7aea16730f697d5fb832722c496
1 Return-Path: <vasile@softwarefreedom.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 E7D41431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 18:55:54 -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: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 ZLiESrxhxIFB for <notmuch@notmuchmail.org>;\r
16         Wed, 16 Mar 2011 18:55:54 -0700 (PDT)\r
17 Received: from mail.sflc.info (mail.sflc.info [216.27.154.199])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 21853431FB5\r
21         for <notmuch@notmuchmail.org>; Wed, 16 Mar 2011 18:55:54 -0700 (PDT)\r
22 Received: from localhost (ool-18bd39a4.dyn.optonline.net [24.189.57.164])\r
23         by mail.sflc.info (Postfix) with ESMTPSA id C81F1680003\r
24         for <notmuch@notmuchmail.org>; Thu, 17 Mar 2011 01:55:49 +0000 (UTC)\r
25 From: James Vasile <james@hackervisions.org>\r
26 To: notmuch <notmuch@notmuchmail.org>\r
27 Subject: [PATCH] replace null terminator in string\r
28 In-Reply-To: <87ipvifrlv.fsf@softwarefreedom.org>\r
29 References: <87ipvifrlv.fsf@softwarefreedom.org>\r
30 User-Agent: Notmuch/0.5-216-g76ea9ab (http://notmuchmail.org) Emacs/23.2.1\r
31         (x86_64-pc-linux-gnu)\r
32 Date: Wed, 16 Mar 2011 21:55:50 -0400\r
33 Message-ID: <87fwqmfr2x.fsf@softwarefreedom.org>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 17 Mar 2011 01:55:55 -0000\r
49 \r
50 In order to make the prior patch work for trailing whitespace, we also need this one.\r
51 ---\r
52  lib/thread.cc |    2 ++\r
53  1 files changed, 2 insertions(+), 0 deletions(-)\r
54 \r
55 diff --git a/lib/thread.cc b/lib/thread.cc\r
56 index 7a816ea..54fde2b 100644\r
57 --- a/lib/thread.cc\r
58 +++ b/lib/thread.cc\r
59 @@ -291,6 +291,8 @@ rectify_whitespace (char *str)\r
60        *curr = 32; //space\r
61    while (curr++ < last);\r
62  \r
63 +  *(last+1) = 0;\r
64 +\r
65    return str;\r
66  }\r
67  \r
68 -- \r
69 1.7.2.3\r