Fixed issue of connection_create() 67/37467/3
authortaesub.kim <taesub.kim@samsung.com>
Fri, 27 Mar 2015 06:52:00 +0000 (15:52 +0900)
committertaesub.kim <taesub.kim@samsung.com>
Wed, 6 May 2015 01:00:36 +0000 (10:00 +0900)
Change-Id: Ic73099a3a0e20bd991fb27f82221c5462af3a12d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
include/net_connection_private.h [changed mode: 0644->0755]
packaging/capi-network-connection.spec
src/libnetwork.c

old mode 100644 (file)
new mode 100755 (executable)
index c77f537..e78c5d6
@@ -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);
index befb81b..a3ad2cb 100644 (file)
@@ -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
index 3f61754..cf94dce 100755 (executable)
@@ -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)