summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2025-09-28 10:15:08 +0000
committerFelix Fietkau2025-09-28 10:15:12 +0000
commitc79f02d899df432d5672bad0bd7f0fed055b5dae (patch)
treebd426bc1416a87ae29fbfd43e762515bb449627e
parentd3be5474f6e6b75544e72c8e1a308a4a8f6102c6 (diff)
ucode: fix skipping lines where the timestamp cannot be parsed
Skip to the next line Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--lib-ucode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-ucode.c b/lib-ucode.c
index cc1759d..b733580 100644
--- a/lib-ucode.c
+++ b/lib-ucode.c
@@ -986,7 +986,7 @@ read_again:
cur_ptr = &ptr[ptr_ofs];
if (!trace_parse_timestamp(cur_ptr, cur + tr->ts_ofs))
- continue;
+ goto next_line;
cur_ptr->start = data_ofs;
cur_ptr->len = strlen(line);