[svn r710] Fixed verification of the MythTV UPnP service. trunk
authorrosfran
Wed May 23 21:49:19 2007 +0100 (2007-05-23)
branchtrunk
changeset 7045b6a77d85cf7
parent 703 bfc97f675c60
child 705 48d1f2628be1
[svn r710] Fixed verification of the MythTV UPnP service.
gmyth-upnp/src/gmyth_upnp.c
     1.1 --- a/gmyth-upnp/src/gmyth_upnp.c	Wed May 23 21:34:48 2007 +0100
     1.2 +++ b/gmyth-upnp/src/gmyth_upnp.c	Wed May 23 21:49:19 2007 +0100
     1.3 @@ -323,8 +323,9 @@
     1.4  		devName = cg_upnp_device_getfriendlyname(childDev);
     1.5  		dev_url = cg_upnp_device_getlocationfromssdppacket( childDev );
     1.6  		gmyth_debug( "Device's friendly name = %s, and  device's URL = %s\n", devName, dev_url );
     1.7 -		if ( ( upnp_dev_found = ( g_strstr_len( devName, strlen( devName ), mythtvFriendlyName ) != NULL ) ) == TRUE ) 
     1.8 +		if ( ( g_strstr_len( devName, strlen( devName ), mythtvFriendlyName ) != NULL ) == TRUE ) 
     1.9  		{
    1.10 +			upnp_dev_found = TRUE;
    1.11  			/* stores the last UDN number ID */
    1.12  			*udn = cg_upnp_device_getudn( childDev );
    1.13  			/* *mythtv_servers_lst = g_list_append( *mythtv_servers_lst, dev_url );  */