From 46fe4817f70aef9b87b82a5539008aaed350be39 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 30 Aug 2009 13:20:14 +0200 Subject: [PATCH] Fix off-by-one bug in fixup_info_string(). This caused the chunk time not being properly displayed due to a missing newline in the status output. --- aft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aft.c b/aft.c index 00e38d76..5fb04807 100644 --- a/aft.c +++ b/aft.c @@ -1016,7 +1016,7 @@ static int fixup_info_string(char *info_string) if (!t2) return -ERRNO_TO_PARA_ERROR(EINVAL); - end = t2 + strlen(t2) + 1; + end = t2 + strlen(t2); fixup_taginfo(info_string + 16, t1); fixup_taginfo(t1 + 10, t2); fixup_taginfo(t2 + 10, end); -- 2.39.2