From: taesub kim Date: Thu, 21 Jun 2018 08:46:01 +0000 (+0900) Subject: Fix dbus method return value #2 X-Git-Tag: accepted/tizen/unified/20180622.122710^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F182220%2F1;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Fix dbus method return value #2 Change-Id: Id2fde617f3160ef03c75ce5ebbf54043f0f94697 Signed-off-by: Taesub Kim --- diff --git a/src/utils/util.c b/src/utils/util.c index 9e1b46a..e4dbc3f 100755 --- a/src/utils/util.c +++ b/src/utils/util.c @@ -1218,7 +1218,7 @@ gboolean handle_launch_mdns(Network *object, GDBusMethodInvocation *context, if (execute_mdnsd_script("start") < 0) { ERR("Failed to launch mdnsresponder daemon"); netconfig_error_invalid_parameter(context); - return FALSE; + return TRUE; } mdnsd_ref_count++; diff --git a/src/wifi-agent.c b/src/wifi-agent.c index 7169558..b8926d2 100755 --- a/src/wifi-agent.c +++ b/src/wifi-agent.c @@ -347,7 +347,7 @@ gboolean handle_request_input(NetConnmanAgent *connman_agent, g_return_val_if_fail(connman_agent != NULL, TRUE); if (NULL == service) - return FALSE; + return TRUE; DBG("Agent fields requested for service: %s", service); diff --git a/src/wifi-key-encryption.c b/src/wifi-key-encryption.c index e8a9f36..cf40a8a 100755 --- a/src/wifi-key-encryption.c +++ b/src/wifi-key-encryption.c @@ -308,7 +308,7 @@ gboolean handle_encrypt_passphrase(Wifi *wifi, GDBusMethodInvocation *context, c if ((wifi == NULL) || (passphrase == NULL)) { ERR("Invalid parameter"); netconfig_error_invalid_parameter(context); - return FALSE; + return TRUE; } enc_data = _netconfig_encrypt_passphrase(passphrase);