summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias <pc99@gmx.net>2008-11-22 17:45:00 +0100
committerMatthias <pc99@gmx.net>2008-11-22 17:45:00 +0100
commit9ee07c228e2887be26017a5b19df3dadfc01a9bb (patch)
tree339d6b94dccaf645154cac48c07d1a184d549b6e
parent131182433db9769a79829507d584acf93a661f80 (diff)
downloadxine-lib-9ee07c228e2887be26017a5b19df3dadfc01a9bb.tar.gz
xine-lib-9ee07c228e2887be26017a5b19df3dadfc01a9bb.tar.bz2
Access to cddb cache broken
-rw-r--r--src/input/input_cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index f058c3699..697f9dec3 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -1434,7 +1434,7 @@ static int _cdda_load_cached_cddb_infos(cdda_input_plugin_t *this) {
if(!strcasecmp(pdir->d_name, discid)) {
FILE *fd;
- snprintf(cdir + cdir_size, 10, "/%s", discid);
+ snprintf(cdir + cdir_size - 12, 10, "/%s", discid);
if((fd = fopen(cdir, "r")) == NULL) {
xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG,
"input_cdda: fopen(%s) failed: %s.\n", cdir, strerror(errno));