From: Maneesh Jain Date: Thu, 11 Jun 2015 04:57:38 +0000 (+0530) Subject: Fixed return Type to avoid potential error in application X-Git-Tag: submit/tizen/20150710.012046~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fb064cf5474cc627a10d2d65a29415a996a2dc3;p=platform%2Fcore%2Fapi%2Fconnection.git Fixed return Type to avoid potential error in application Change-Id: I5336f8168a268bdea600e3745de02e429ebd31ed Signed-off-by: Maneesh Jain --- 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) {