From 7fb064cf5474cc627a10d2d65a29415a996a2dc3 Mon Sep 17 00:00:00 2001 From: Maneesh Jain Date: Thu, 11 Jun 2015 10:27:38 +0530 Subject: [PATCH] Fixed return Type to avoid potential error in application Change-Id: I5336f8168a268bdea600e3745de02e429ebd31ed Signed-off-by: Maneesh Jain --- src/libnetwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnetwork.c b/src/libnetwork.c index 3b8bc92..a439d6b 100755 --- a/src/libnetwork.c +++ b/src/libnetwork.c @@ -554,7 +554,7 @@ int _connection_libnet_get_ethernet_state(connection_ethernet_state_e* state) if (ethernet_profiles.count == 0) { state = CONNECTION_ETHERNET_STATE_DEACTIVATED; - return true; + return CONNECTION_ERROR_NONE; } switch (ethernet_profiles.profiles->ProfileState) { -- 2.7.4