[grilo-plugins/fremantle] [shoutcast] Solved problem with null nodeTab
- From: Xabier Rodriguez Calvar <xrcalvar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/fremantle] [shoutcast] Solved problem with null nodeTab
- Date: Tue, 8 Jun 2010 07:39:53 +0000 (UTC)
commit fa981a214b427928c27dde22a73d7bdfdca31475
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date: Mon Jun 7 18:26:53 2010 +0200
[shoutcast] Solved problem with null nodeTab
src/shoutcast/grl-shoutcast.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/shoutcast/grl-shoutcast.c b/src/shoutcast/grl-shoutcast.c
index 7a9be15..eeb3a94 100644
--- a/src/shoutcast/grl-shoutcast.c
+++ b/src/shoutcast/grl-shoutcast.c
@@ -355,7 +355,8 @@ xml_parse_result (const gchar *str, OperationData *op_data)
xpath_ctx);
g_free (xpath_expression);
- if (xpath_res && xpath_res->nodesetval->nodeTab[0]) {
+ if (xpath_res && xpath_res->nodesetval->nodeTab &&
+ xpath_res->nodesetval->nodeTab[0]) {
op_data->xml_entries = xpath_res->nodesetval->nodeTab[0];
if (stationlist_result) {
build_media_from_station (op_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]