From: Felix Fietkau Date: Sun, 28 Sep 2025 10:15:08 +0000 (+0200) Subject: ucode: fix skipping lines where the timestamp cannot be parsed X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c79f02d899df432d5672bad0bd7f0fed055b5dae;p=project%2Fudebug.git ucode: fix skipping lines where the timestamp cannot be parsed Skip to the next line Signed-off-by: Felix Fietkau --- 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);