Fix a bug: QuickMix stations losing state.

(upstream commit 49f64fd33c202831407ba6b02fa74c2037052f1c)
This commit is contained in:
dcoppa 2011-05-13 09:52:51 +00:00
parent a3aafdd405
commit 82a1ce94a8
2 changed files with 20 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2011/05/04 07:48:04 dcoppa Exp $
# $OpenBSD: Makefile,v 1.15 2011/05/13 09:52:51 dcoppa Exp $
COMMENT = console client for pandora
DISTNAME = pianobar-2011.04.27
REVISION = 0
EXTRACT_SUFX = .tar.bz2
CATEGORIES = audio

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_libpiano_xml_c,v 1.1 2011/05/13 09:52:51 dcoppa Exp $
Fix useQuickMix attribute
(Commit 49f64fd33c202831407ba6b02fa74c2037052f1c)
--- src/libpiano/xml.c.orig Fri May 13 11:44:10 2011
+++ src/libpiano/xml.c Fri May 13 11:45:07 2011
@@ -373,8 +373,9 @@ static void PianoXmlParseQuickMixStationsCb (const cha
}
}
ids[idsN-1] = NULL;
+
+ *retIds = ids;
}
- *retIds = ids;
}
/* parse stations returned by pandora