# HG changeset patch
# User rosfran
# Date 1179953359 -3600
# Node ID 5b6a77d85cf7578405795989c931bae975b39707
# Parent  bfc97f675c606d4aada8e4abfd577aba6f757965
[svn r710] Fixed verification of the MythTV UPnP service.

diff -r bfc97f675c60 -r 5b6a77d85cf7 gmyth-upnp/src/gmyth_upnp.c
--- a/gmyth-upnp/src/gmyth_upnp.c	Wed May 23 21:34:48 2007 +0100
+++ b/gmyth-upnp/src/gmyth_upnp.c	Wed May 23 21:49:19 2007 +0100
@@ -323,8 +323,9 @@
 		devName = cg_upnp_device_getfriendlyname(childDev);
 		dev_url = cg_upnp_device_getlocationfromssdppacket( childDev );
 		gmyth_debug( "Device's friendly name = %s, and  device's URL = %s\n", devName, dev_url );
-		if ( ( upnp_dev_found = ( g_strstr_len( devName, strlen( devName ), mythtvFriendlyName ) != NULL ) ) == TRUE ) 
+		if ( ( g_strstr_len( devName, strlen( devName ), mythtvFriendlyName ) != NULL ) == TRUE ) 
 		{
+			upnp_dev_found = TRUE;
 			/* stores the last UDN number ID */
 			*udn = cg_upnp_device_getudn( childDev );
 			/* *mythtv_servers_lst = g_list_append( *mythtv_servers_lst, dev_url );  */