You are here: Home » Reply

Reply To: Alternative database handling for “compilations”

#4063

rpedde
Participant

and:


+ if (song->orchestra && song->conductor) {
+ len = (int)strlen(song->artist) +
+ (int)strlen(sep) +
+ (int)strlen(song->title);
+ ptmp = (char*)malloc(len + 1);
+ if(ptmp) {
+ sprintf(ptmp,"%s%s%s",song->orchestra, sep, song->conductor);
+ song->artist = ptmp;
+ }

should probably be:


len = (int)strlen(song->orchestra) ... (int)strlen(song->conductor);

but I saw where you were going with it. I’ll probably drop a nightly now just to get fixes out, and finish up the compdir stuff tomorrow.