summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2023-08-23 08:30:07 +0000
committernicm <nicm>2023-08-23 08:30:07 +0000
commit52084b2948032db4de728f4fc690760345a40ef2 (patch)
tree5c200ef42a3923541ecde48cc08bbb9ee8ac5007 /input.c
parent8636848e6348bb0e38cd6aaaadbe61e15181bc8f (diff)
Log what input_dcs_dispatch does with the input data.
Diffstat (limited to 'input.c')
-rw-r--r--input.c9
1 files changed, 6 insertions, 3 deletions
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);