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 befb81ba35a5af55c60fa62a84f6ce48f86ecc1f..a3ad2cbf7c1273e50bffc03640fd18fef96ab9aa 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 3f61754f80379bb70dab7de2fcc71dc5451437df..cf94dce8377f73fd1ad804412237f888d538d4b8 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)