From 52084b2948032db4de728f4fc690760345a40ef2 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 23 Aug 2023 08:30:07 +0000 Subject: Log what input_dcs_dispatch does with the input data. --- input.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 67b5ee66..090d61ab 100644 --- a/input.c +++ b/input.c @@ -2248,10 +2248,13 @@ input_dcs_dispatch(struct input_ctx *ictx) if (wp == NULL) return (0); - if (ictx->flags & INPUT_DISCARD) + if (ictx->flags & INPUT_DISCARD) { + log_debug("%s: %zu bytes (discard)", __func__, len); return (0); - allow_passthrough = options_get_number(wp->options, - "allow-passthrough"); + } + log_debug("%s: %zu bytes", __func__, len); + + allow_passthrough = options_get_number(wp->options, "allow-passthrough"); if (!allow_passthrough) return (0); log_debug("%s: \"%s\"", __func__, buf); -- cgit v1.2.3