[network-manager-applet] gconf: fix saving IPv6 addresses to GConf



commit adf498248e1b94822c115c975250680681e0a0da
Author: Dan Williams <dcbw redhat com>
Date:   Fri Apr 30 15:18:06 2010 -0700

    gconf: fix saving IPv6 addresses to GConf

 src/gconf-helpers/gconf-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gconf-helpers/gconf-helpers.c b/src/gconf-helpers/gconf-helpers.c
index 87634c0..f1c549c 100644
--- a/src/gconf-helpers/gconf-helpers.c
+++ b/src/gconf-helpers/gconf-helpers.c
@@ -1414,7 +1414,7 @@ nm_gconf_set_ip6addr_array_helper (GConfClient *client,
 		}
 
 		if (   (elements->n_values == 3)
-		    || (G_VALUE_TYPE (g_value_array_get_nth (elements, 2)) != DBUS_TYPE_G_UCHAR_ARRAY)) {
+		    && (G_VALUE_TYPE (g_value_array_get_nth (elements, 2)) != DBUS_TYPE_G_UCHAR_ARRAY)) {
 			g_warning ("%s: invalid IPv6 gateway!", __func__);
 			goto out;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]