mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 21:50:27 +01:00
2008-02-12 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-utils.c - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's just any empty array git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
5b87ceab92
commit
6130a4f6b8
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-02-12 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-utils.c
|
||||
- (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
|
||||
just any empty array
|
||||
|
||||
2008-02-12 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* system-settings/src/nm-system-config-interface.c
|
||||
|
|
|
|||
|
|
@ -489,7 +489,7 @@ nm_utils_convert_uint_array_to_string (const GValue *src_value, GValue *dest_val
|
|||
array = (GArray *) g_value_get_boxed (src_value);
|
||||
|
||||
printable = g_string_new ("[");
|
||||
while (i < array->len) {
|
||||
while (array && (i < array->len)) {
|
||||
char buf[INET_ADDRSTRLEN + 1];
|
||||
struct in_addr addr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue