mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
Whoops, read UPnP root urlbase correctly.
This commit is contained in:
parent
0b3e32ede3
commit
82ead7c85b
1 changed files with 1 additions and 0 deletions
|
@ -981,6 +981,7 @@ parseRoot(const char *buf, int len, char ** soap, char ** scpd )
|
|||
|
||||
buf = tr_xmlFindTagContents( buf, end, "root" );
|
||||
urlbase = tr_xmlFindTag( buf, end, "urlBase" );
|
||||
urlbase = tr_xmlTagContents( urlbase, end );
|
||||
buf = tr_xmlFindTagContents( buf, end, "device" );
|
||||
if( tr_xmlFindTagVerifyContents( buf, end, "deviceType",
|
||||
"urn:schemas-upnp-org:device:InternetGatewayDevice:1", 1 ) )
|
||||
|
|
Loading…
Reference in a new issue