From e6fe57e4e8606da9c90597e6c158bd1f9de6ef4b Mon Sep 17 00:00:00 2001 From: "taesub.kim" Date: Fri, 27 Mar 2015 15:52:00 +0900 Subject: [PATCH] Fixed issue of connection_create() Change-Id: Ic73099a3a0e20bd991fb27f82221c5462af3a12d Signed-off-by: Taesub Kim --- include/net_connection_private.h | 2 +- packaging/capi-network-connection.spec | 2 +- src/libnetwork.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 include/net_connection_private.h diff --git a/include/net_connection_private.h b/include/net_connection_private.h old mode 100644 new mode 100755 index c77f537..e78c5d6 --- a/include/net_connection_private.h +++ b/include/net_connection_private.h @@ -94,7 +94,7 @@ typedef struct _connection_handle_s } connection_handle_s; -bool _connection_libnet_init(void); +int _connection_libnet_init(void); bool _connection_libnet_deinit(void); int _connection_libnet_get_wifi_state(connection_wifi_state_e *state); int _connection_libnet_get_ethernet_state(connection_ethernet_state_e *state); diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index befb81b..a3ad2cb 100644 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,6 +1,6 @@ Name: capi-network-connection Summary: Network Connection library in TIZEN C API -Version: 0.1.3_19 +Version: 0.1.3_20 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/libnetwork.c b/src/libnetwork.c index 3f61754..cf94dce 100755 --- a/src/libnetwork.c +++ b/src/libnetwork.c @@ -399,7 +399,7 @@ void __libnet_copy_connected_profile(net_profile_info_t **dest, struct _profile_ } } -bool _connection_libnet_init(void) +int _connection_libnet_init(void) { int rv; @@ -414,7 +414,7 @@ bool _connection_libnet_init(void) profile_cb_table = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); } - return true; + return NET_ERR_NONE; } bool _connection_libnet_deinit(void) -- 2.7.4