From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 814D01FA29 for ; Mon, 9 Jan 2023 06:21:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1673245296; bh=Vm4z40v9REQ0cysEaDqubptlIaSBn3kAzwAxpn8DDBc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=biRD9ddRhS8ACatd6vXPNvJKXUBrHZiE71RPidZtUpw3bhFK4zUrFccBMpt+63Lgx 4mm7N7Nj+Jn9Kl3UtLpO4uImzaXV4Eqcv32y7dk9JffzSr0JnLG3G5MzRgWFt4lu6M 4SBXkvmDuYg9M+ToOtMaUGVN88qZ/SRgBF3VQQ14= From: Eric Wong To: mwrap-public@80x24.org Subject: [PATCH 2/2] httpd: add CSV download link to /each/$MIN HTML Date: Mon, 9 Jan 2023 06:21:36 +0000 Message-Id: <20230109062136.2543690-3-e@80x24.org> In-Reply-To: <20230109062136.2543690-1-e@80x24.org> References: <20230109062136.2543690-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This makes the .CSV download discoverable so I don't have to document it in the manpage \o/ --- ext/mwrap/httpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/mwrap/httpd.h b/ext/mwrap/httpd.h index fe4fe2f..ef4d83c 100644 --- a/ext/mwrap/httpd.h +++ b/ext/mwrap/httpd.h @@ -654,7 +654,8 @@ static enum mw_qev each_gt(struct mw_h1 *h1, struct mw_h1req *h1r, fprintf(fp, "mwrap each >%lu" "

mwrap each >%lu " "(change `%lu' in URL to adjust filtering) - " - "MWRAP=bt:%u", min, min, min, depth); + "MWRAP=bt:%u .csv", + min, min, min, depth, min); show_stats(fp); /* need borders to distinguish multi-level traces */ if (depth)