From a2dbccec37b0a45275db8d911847a455228aa9ac Mon Sep 17 00:00:00 2001 From: Robert Love Date: Mon, 1 May 2006 19:10:57 +0000 Subject: [PATCH] 2006-05-01 Robert Love * 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 --- ChangeLog | 5 +++++ gnome/applet/applet-compat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a9257800c2..b3a93e6cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-01 Robert Love + + * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is + empty, too. + 2006-04-27 Jeremy Katz * src/nm-device.c (discover_device_type): Actually use the hal diff --git a/gnome/applet/applet-compat.c b/gnome/applet/applet-compat.c index ec244af22f..1764ded96c 100644 --- a/gnome/applet/applet-compat.c +++ b/gnome/applet/applet-compat.c @@ -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);