SAT>IP Client: XML - make manufacturerURL tag optional

This commit is contained in:
Jaroslav Kysela 2015-03-19 21:29:54 +01:00
parent fbd41d806b
commit db52de8151

View file

@ -744,7 +744,7 @@ satip_discovery_http_closed(http_client_t *hc, int errn)
if ((manufacturer = htsmsg_xml_get_cdata_str(device, "manufacturer")) == NULL)
goto finish;
if ((manufacturerURL = htsmsg_xml_get_cdata_str(device, "manufacturerURL")) == NULL)
goto finish;
manufacturerURL = "";
if ((modeldesc = htsmsg_xml_get_cdata_str(device, "modelDescription")) == NULL)
modeldesc = "";
if ((modelname = htsmsg_xml_get_cdata_str(device, "modelName")) == NULL)