mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-24 20:40:42 +01:00
2008-10-20 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-config.c - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4197 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
84387ad613
commit
049a5fa7ef
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-10-20 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-config.c
|
||||
- (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
|
||||
|
||||
2008-10-20 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/dhcp-manager/nm-dhcp-manager.c
|
||||
|
|
|
|||
|
|
@ -438,7 +438,10 @@ nm_supplicant_config_add_setting_wireless (NMSupplicantConfig * self,
|
|||
} \
|
||||
if (ucase) \
|
||||
g_string_ascii_up (str); \
|
||||
success = nm_supplicant_config_add_option (self, name, str->str, -1, secret); \
|
||||
if (str->len) \
|
||||
success = nm_supplicant_config_add_option (self, name, str->str, -1, secret); \
|
||||
else \
|
||||
success = TRUE; \
|
||||
g_string_free (str, TRUE); \
|
||||
if (!success) { \
|
||||
nm_warning ("Error adding %s to supplicant config.", name); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue