[grilo-plugins] [shoutcast] Solved problem with null nodeTab
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] [shoutcast] Solved problem with null nodeTab
- Date: Tue, 8 Jun 2010 10:43:28 +0000 (UTC)
commit d3f71feee402086bab8fef6ca4e77b821a90253b
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 a373e86..a33276e 100644
--- a/src/shoutcast/grl-shoutcast.c
+++ b/src/shoutcast/grl-shoutcast.c
@@ -375,7 +375,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]