projects
/
platform
/
core
/
api
/
connection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed return Type to avoid potential error in application
[platform/core/api/connection.git]
/
src
/
libnetwork.c
diff --git
a/src/libnetwork.c
b/src/libnetwork.c
index
3b8bc92
..
a439d6b
100755
(executable)
--- 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) {