2008-07-18 Dan Williams <dcbw@redhat.com>

* src/nm-openvpn-service.c
		- (nm_openvpn_start_openvpn_binary): only add tls-auth direction if
			it's non-empty (Nathaniel McCallum)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3832 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-07-18 18:36:26 +00:00
parent 8041a75703
commit b468ac5dcb
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-07-18 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c
- (nm_openvpn_start_openvpn_binary): only add tls-auth direction if
it's non-empty (Nathaniel McCallum)
2008-07-17 Tambet Ingo <tambet@gmail.com>
* properties/nm-openvpn.c (openvpn_plugin_ui_class_init): Don't add empty

View file

@ -444,7 +444,7 @@ nm_openvpn_start_openvpn_binary (NMOpenvpnPlugin *plugin, GHashTable *properties
g_ptr_array_add (openvpn_argv, (gpointer) g_value_get_string ((GValue *) tmp));
tmp = g_hash_table_lookup (properties, NM_OPENVPN_KEY_TA_DIR);
if (tmp)
if (tmp && strlen (g_value_get_string (tmp)))
g_ptr_array_add (openvpn_argv, (gpointer) g_value_get_string ((GValue *) tmp));
}