Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: manufacturer optional on SAT>IP discovery
As the XML element „manufacturer“ seems to be optional, treat it as optinal
  • Loading branch information
cykedev authored and perexg committed Aug 16, 2016
1 parent 966d8cc commit e7f90e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/satip/satip.c
Expand Up @@ -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)
Expand Down

0 comments on commit e7f90e7

Please sign in to comment.