Group :: Sound
RPM: mpdscribble
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mpdscribble-alt-src-ctrl+c_crash_fix.patch
Download
Download
diff --git a/mpdscribble/file.c b/mpdscribble/file.c
index ce1d71f..03c5750 100644
--- a/mpdscribble/file.c
+++ b/mpdscribble/file.c
@@ -403,7 +403,7 @@ file_read_config (int argc, char **argv)
if (!file_config.password)
fatal ("no audioscrobbler password specified in %s", file_config.conf);
if (!file_config.host)
- file_config.host = mpd_host;
+ file_config.host = strdup2(mpd_host);
if (!file_config.host)
file_config.host = strdup2 (FILE_DEFAULT_HOST);
if (!file_config.log)