From c2b4b9c1d7412911f35163fc172cfb13e041f506 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Mon, 14 Mar 2011 01:05:51 -0500 Subject: build: fix return types (bgo #644665) Some functions were returning FALSE or 0 instead of NULL. --- libnm-glib/nm-ip6-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libnm-glib/nm-ip6-config.c') diff --git a/libnm-glib/nm-ip6-config.c b/libnm-glib/nm-ip6-config.c index 06b9ba60e3..7e9bf3cd8a 100644 --- a/libnm-glib/nm-ip6-config.c +++ b/libnm-glib/nm-ip6-config.c @@ -156,7 +156,7 @@ nm_ip6_config_get_addresses (NMIP6Config *config) NMIP6ConfigPrivate *priv; GValue value = { 0, }; - g_return_val_if_fail (NM_IS_IP6_CONFIG (config), 0); + g_return_val_if_fail (NM_IS_IP6_CONFIG (config), NULL); priv = NM_IP6_CONFIG_GET_PRIVATE (config); if (priv->addresses) @@ -266,7 +266,7 @@ nm_ip6_config_get_routes (NMIP6Config *config) NMIP6ConfigPrivate *priv; GValue value = { 0, }; - g_return_val_if_fail (NM_IS_IP6_CONFIG (config), 0); + g_return_val_if_fail (NM_IS_IP6_CONFIG (config), NULL); priv = NM_IP6_CONFIG_GET_PRIVATE (config); if (priv->routes) -- cgit v1.2.1