Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766789
en ru br
ALT Linux repos
S:0.22-alt1.git20110709
5.0: 0.2.12-alt4.1
4.1: 0.2.10-alt1.2
4.0: 0.2.10-alt1.2

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


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)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin