2006-05-01 Robert Love <rml@novell.com>

* gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
	  empty, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1713 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-05-01 19:10:57 +00:00 committed by Robert Love
parent ceae0fa9e4
commit a2dbccec37
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-05-01 Robert Love <rml@novell.com>
* gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
empty, too.
2006-04-27 Jeremy Katz <katzj@redhat.com>
* src/nm-device.c (discover_device_type): Actually use the hal

View file

@ -280,7 +280,7 @@ convert_one_entry (GConfClient *client,
g_return_if_fail (client != NULL);
g_return_if_fail (essid != NULL);
if (!(escaped_network = gconf_escape_key (essid, strlen (essid))))
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);