From a1983664f29deaf5e846fee103a4fe0932d38297 Mon Sep 17 00:00:00 2001 From: Josh Elsasser Date: Thu, 28 Sep 2006 00:17:56 +0000 Subject: [PATCH] Don't verify part of the UPnP root descript that apparently isn't standard. --- libtransmission/upnp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libtransmission/upnp.c b/libtransmission/upnp.c index 3d9043c40..b4cb80025 100644 --- a/libtransmission/upnp.c +++ b/libtransmission/upnp.c @@ -1014,9 +1014,7 @@ parseRoot(const char *buf, int len, char ** soap, char ** scpd ) kk = tr_xmlFindTag( kk, end, "service" ); buf = tr_xmlTagContents( kk, end ); if( !tr_xmlFindTagVerifyContents( buf, end, "serviceType", - UPNP_SERVICE_TYPE, 1 ) && - !tr_xmlFindTagVerifyContents( buf, end, "serviceId", - "urn:upnp-org:serviceId:WANIPConn1", 1 ) ) + UPNP_SERVICE_TYPE, 1 ) ) { *soap = tr_xmlDupTagContents( buf, end, "controlURL"); *scpd = tr_xmlDupTagContents( buf, end, "SCPDURL");