Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AD37D429E20 for ; Sun, 8 May 2011 16:13:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 ETvBIPEWOa3u for ; Sun, 8 May 2011 16:13:22 -0700 (PDT) Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E4321431FB5 for ; Sun, 8 May 2011 16:13:21 -0700 (PDT) Received: from eve.chaoflow.net (ppp-188-174-25-68.dynamic.mnet-online.de [188.174.25.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: flo@chaoflow.net) by tesla.chaoflow.net (Postfix) with ESMTPSA id 8B333C8CD; Mon, 9 May 2011 01:13:20 +0200 (CEST) Received: from eve.fritz.box (eve.chaoflow.net [127.0.0.1]) by eve.chaoflow.net (Postfix) with ESMTP id 50B3527D; Sun, 8 May 2011 23:13:20 +0000 (Local time zone must be set--see zic manual page) From: Florian Friesdorf To: notmuch@notmuchmail.org Subject: [PATCH 1/2] style fixes Date: Mon, 9 May 2011 01:13:14 +0200 Message-Id: <1304896395-7407-1-git-send-email-flo@chaoflow.net> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: References: X-Virus-Scanned: clamav-milter 0.96.5 at tesla X-Virus-Status: Clean 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: Sun, 08 May 2011 23:13:22 -0000 --- notmuch-search.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch-search.c b/notmuch-search.c index e7fc41a..fd7c7d1 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -112,13 +112,13 @@ format_item_id_text (unused (const void *ctx), } static char * -sanitize_string(const void *ctx, const char *str) +sanitize_string (const void *ctx, const char *str) { char *out, *loop; loop = out = talloc_strdup (ctx, str); - for(;*loop;loop++){ + for (; *loop; loop++) { if ((unsigned char)(*loop) < 32) *loop = '?'; } -- 1.7.5.1