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 25785429E2B for ; Wed, 15 Jun 2011 04:12:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 nK6Wim2oYCi9 for ; Wed, 15 Jun 2011 04:12:01 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1FA25429E2A for ; Wed, 15 Jun 2011 04:11:59 -0700 (PDT) Received: by mail-fx0-f53.google.com with SMTP id 8so337389fxm.26 for ; Wed, 15 Jun 2011 04:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=BKY+hOPBBkd3VzG0Hl/2bFgqdITaOiWy9mIHuSZosXY=; b=sOgfDIqhvbrtHDs5JQq9apTcMLFwvwhH0DYiI0nACItBZKpPwxlChgE+OrWSbmfnms xkJ/p5qbaJ6I88eWjVyfPYmsXm3yc3XjbMQeWyhdD0KKH44kvylFcFm580bEvpNrO05J WA3+U3qW0GRzdI+MtEIEpVT63wirs5Gh6fxFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=LQgK8nj8r37SkhxpRjptWKuuZUatT2rIgqOEoulSZLgq6onwRgePohb/bl3Ajyr+78 17kG7cG8axSRPM7fC3PT3+45a0B9II0GseGnQU/XN5bz2anR+UYJfa9+rkYV3Xl7ztoG okKTssH4rDJd6wPaBnst39H4p+gF/DjBzKcM8= Received: by 10.223.158.72 with SMTP id e8mr439665fax.39.1308136319808; Wed, 15 Jun 2011 04:11:59 -0700 (PDT) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id h9sm160132fai.30.2011.06.15.04.11.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 04:11:59 -0700 (PDT) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH 3/3] Fix indentation in guess_from_received_header(). Date: Wed, 15 Jun 2011 15:12:14 +0400 Message-Id: <1308136334-9219-3-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1308136334-9219-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1308136334-9219-1-git-send-email-dmitry.kurochkin@gmail.com> 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: Wed, 15 Jun 2011 11:12:02 -0000 --- notmuch-reply.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 64f70bf..27ef37b 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -427,13 +427,13 @@ guess_from_received_header (notmuch_config_t *config, notmuch_message_t *message if (strcasestr(primary, domain)) { free(mta); - return primary; - } - for (i = 0; i < other_len; i++) - if (strcasestr (other[i],domain)) { - free(mta); - return other[i]; + return primary; } + for (i = 0; i < other_len; i++) + if (strcasestr (other[i],domain)) { + free(mta); + return other[i]; + } } free (mta); } -- 1.7.5.4