Commit
3d128efe07 forgot to take account update data strings no longer
start with "N:", but with a unix timestamp and ":". This messed up the
logs.
Fix it by parsing up to the first colon and stripping the timestamp
away.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
str_ptr = logstr + strlen(logstr);
- data += 2; /* Skip the "N: part */
+ /* Skip the "N: part */
+ while (*data != ':')
+ data++;
+ data++;
+
spacing = 12;
while (*data && str_ptr - logstr < sizeof(logstr) - 1) {