2005-06-23 David Zeuthen <davidz@redhat.com>

* properties/nm-vpnc.c (import_from_file): Allow "Description=" to be
        the empty string (reported by Bill Moss <bmoss@clemson.edu>).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@739 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
David Zeuthen
2005-06-23 18:59:15 +00:00
parent e8b20dbac2
commit 56240ef587
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2005-06-23 David Zeuthen <davidz@redhat.com>
* properties/nm-vpnc.c (import_from_file): Allow "Description=" to be
the empty string (reported by Bill Moss <bmoss@clemson.edu>).
2005-06-17 David Zeuthen <davidz@redhat.com>
* configure.in, Makefile.am: Various fixes such that 'make distcheck'

View File

@@ -512,8 +512,7 @@ import_from_file (NetworkManagerVpnUIImpl *impl, const char *path)
routes = g_strdup ("");
/* sanity check data */
if (! (strlen (connectionname) > 0 &&
strlen (gateway) > 0 &&
if (! (strlen (gateway) > 0 &&
strlen (groupname) > 0))
goto error;