From e7f90e7cc4cb70d2d3ce35578613a97681734c11 Mon Sep 17 00:00:00 2001 From: Christian Eiden Date: Tue, 16 Aug 2016 21:15:40 +0200 Subject: [PATCH] SAT>IP: manufacturer optional on SAT>IP discovery MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As the XML element „manufacturer“ seems to be optional, treat it as optinal --- src/input/mpegts/satip/satip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/mpegts/satip/satip.c b/src/input/mpegts/satip/satip.c index 83ee878ae..f7cb1da17 100644 --- a/src/input/mpegts/satip/satip.c +++ b/src/input/mpegts/satip/satip.c @@ -915,7 +915,7 @@ satip_discovery_http_closed(http_client_t *hc, int errn) if ((friendlyname = htsmsg_xml_get_cdata_str(device, "friendlyName")) == NULL) goto finish; if ((manufacturer = htsmsg_xml_get_cdata_str(device, "manufacturer")) == NULL) - goto finish; + manufacturer = ""; if ((manufacturerURL = htsmsg_xml_get_cdata_str(device, "manufacturerURL")) == NULL) manufacturerURL = ""; if ((modeldesc = htsmsg_xml_get_cdata_str(device, "modelDescription")) == NULL) -- 2.47.3