gmyth-upnp/src/gmyth_upnp.c
branchtrunk
changeset 705 48d1f2628be1
parent 700 9ade4c5e5db8
child 706 5cc97240e238
     1.1 --- a/gmyth-upnp/src/gmyth_upnp.c	Wed May 23 19:21:26 2007 +0100
     1.2 +++ b/gmyth-upnp/src/gmyth_upnp.c	Thu May 24 01:25: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 );  */