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:
Dan Williams 2008-02-12 20:21:36 +00:00
parent 5b87ceab92
commit 6130a4f6b8
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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;