From e249f2aaf9e9ced4d365d07bf86605a70853dd39 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 8 Sep 2015 10:33:38 +2100 Subject: [PATCH] [PATCH 2/2] cli/count: apply uncrustify changes --- f0/50ec9eb8ba6ed82e54bbb9cd0ffacc8d4f400b | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 f0/50ec9eb8ba6ed82e54bbb9cd0ffacc8d4f400b diff --git a/f0/50ec9eb8ba6ed82e54bbb9cd0ffacc8d4f400b b/f0/50ec9eb8ba6ed82e54bbb9cd0ffacc8d4f400b new file mode 100644 index 000000000..2c1dbba75 --- /dev/null +++ b/f0/50ec9eb8ba6ed82e54bbb9cd0ffacc8d4f400b @@ -0,0 +1,85 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 833EC6DE1744 + for ; Mon, 7 Sep 2015 06:34:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 2.739 +X-Spam-Level: ** +X-Spam-Status: No, score=2.739 tagged_above=-999 required=5 tests=[AWL=-0.951, + RCVD_IN_BRBL_LASTEXT=1.644, RCVD_IN_SBL=2.596, RP_MATCHES_RCVD=-0.55] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id VzL1bjj3oDef for ; + Mon, 7 Sep 2015 06:34:04 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + by arlo.cworth.org (Postfix) with ESMTPS id CACF86DE140C + for ; Mon, 7 Sep 2015 06:34:04 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1ZYwYe-0002wM-52; Mon, 07 Sep 2015 10:34:04 -0300 +Received: (nullmailer pid 22530 invoked by uid 1000); Mon, 07 Sep 2015 + 13:34:00 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH 2/2] cli/count: apply uncrustify changes +Date: Mon, 7 Sep 2015 10:33:38 -0300 +Message-Id: <1441632818-22483-2-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.5.1 +In-Reply-To: <1441632818-22483-1-git-send-email-david@tethera.net> +References: <1441632818-22483-1-git-send-email-david@tethera.net> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Mon, 07 Sep 2015 13:34:06 -0000 + +--- + notmuch-count.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/notmuch-count.c b/notmuch-count.c +index 66f5e53..a844384 100644 +--- a/notmuch-count.c ++++ b/notmuch-count.c +@@ -117,7 +117,7 @@ count_file (notmuch_database_t *notmuch, FILE *input, const char **exclude_tags, + size_t line_size; + int ret = 0; + +- while (!ret && (line_len = getline (&line, &line_size, input)) != -1) { ++ while (! ret && (line_len = getline (&line, &line_size, input)) != -1) { + chomp_newline (line); + ret = print_count (notmuch, line, exclude_tags, exclude_tags_length, + output, print_lastmod); +@@ -189,7 +189,7 @@ notmuch_count_command (notmuch_config_t *config, int argc, char *argv[]) + + notmuch_exit_if_unmatched_db_uuid (notmuch); + +- query_str = query_string_from_args (config, argc-opt_index, argv+opt_index); ++ query_str = query_string_from_args (config, argc - opt_index, argv + opt_index); + if (query_str == NULL) { + fprintf (stderr, "Out of memory.\n"); + return EXIT_FAILURE; +@@ -197,7 +197,7 @@ notmuch_count_command (notmuch_config_t *config, int argc, char *argv[]) + + if (exclude == EXCLUDE_TRUE) { + search_exclude_tags = notmuch_config_get_search_exclude_tags +- (config, &search_exclude_tags_length); ++ (config, &search_exclude_tags_length); + } + + if (batch) +-- +2.5.1 + -- 2.26.2