ref: 8624a54632ec76c21ddfb67766de1569157f925b
parent: dcff4acbb68367e69ea6e49aa31aa557c29f3ccf
author: Noam Preil <noam@pixelhero.dev>
date: Tue Sep 24 02:47:26 EDT 2024
aux/cddb: support very long artist+album name combos
--- a/sys/src/cmd/aux/cddb.c
+++ b/sys/src/cmd/aux/cddb.c
@@ -233,7 +233,10 @@
t->artist = estrdup(p);
p = a;
}
- t->title = estrdup(p);
+ if(t->title != nil)
+ t->title = smprint("%s%s", t->title, p);+ else
+ t->title = estrdup(p);
}
else if(strncmp(p, "DYEAR=", 6) == 0) {t->year = estrdup(p+6);
--
⑨