openbsd-ports/audio/mt-daapd/patches/patch-src_mp3-scanner_c
alek 3983a19a3f Update to 0.2.3
From Arnaud Bergeron <abergeron@gmail.com>
     and James Wright <jamesw@bsdhosting.co.za>
2005-10-07 20:15:13 +00:00

13 lines
423 B
Plaintext

$OpenBSD: patch-src_mp3-scanner_c,v 1.1 2005/10/07 20:15:13 alek Exp $
--- src/mp3-scanner.c.orig Sat Feb 5 22:22:47 2005
+++ src/mp3-scanner.c Fri Oct 7 21:50:05 2005
@@ -1748,7 +1748,7 @@ void make_composite_tags(MP3FILE *song)
}
}
- sprintf(fdescr,"%s audio file",song->type);
+ snprintf(fdescr,sizeof(fdescr),"%s audio file",song->type);
song->description = strdup(fdescr);
if(song->url) {