Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 46ef092a92244f60eed1921776289740 > files > 7

NetworkManager-0.7.0-4.sl5_2.0.6.4.src.rpm

--- NetworkManager-0.6.4/gnome/applet/applet-compat.c.empty-gconf-key	2007-01-05 22:44:08.000000000 -0500
+++ NetworkManager-0.6.4/gnome/applet/applet-compat.c	2007-01-05 22:44:19.000000000 -0500
@@ -280,7 +280,7 @@
 	g_return_if_fail (client != NULL);
 	g_return_if_fail (essid != NULL);
 
-	if (!(escaped_network = gconf_escape_key (essid, strlen (essid))) || strlen (escaped_network) < 0)
+	if (!(escaped_network = gconf_escape_key (essid, strlen (essid))) || strlen (escaped_network) == 0)
 	{
 		nm_warning ("%s:%d (%s): couldn't unescape network name '%s'.",
 				__FILE__, __LINE__, __func__, essid);