Commit 86cb5795 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Contrib: fix crash in CDDB on Windows

Close #13465
parent a4878ec4
--- libcddb/lib/cddb_conn.c 2006-10-15 13:53:11.000000000 +0200
+++ libcddb.new/lib/cddb_conn.c 2010-11-28 21:03:39.012749230 +0100
@@ -100,9 +100,17 @@
@@ -100,9 +100,18 @@
c->use_cache = CACHE_ON;
/* construct cache dir '$HOME/[DEFAULT_CACHE]' */
s = getenv("HOME");
......@@ -17,6 +17,7 @@
+ {
+ c->cache_dir = NULL;
+ c->use_cache = CACHE_OFF;
+ c->cache_read = FALSE;
+ }
/* use anonymous@localhost */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment