Commit 0ede68db authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Correct logic to find service from list

This fixes the issue of wrongly ignoring new services.
parent 83725828
......@@ -213,7 +213,7 @@ find_service_node (GUPnPControlPoint *control_point,
info = GUPNP_SERVICE_INFO (l->data);
if ((strcmp (gupnp_service_info_get_udn (info), udn) == 0) ||
if ((strcmp (gupnp_service_info_get_udn (info), udn) == 0) &&
(strcmp (gupnp_service_info_get_service_type (info),
service_type) == 0))
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment