projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
48e25ec
)
Merge "[Upstream] Fix return value in error path." into tizen
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Tue, 18 Dec 2018 02:25:30 +0000
(
02:25
+0000)
committer
Gerrit Code Review
<gerrit@review.ap-northeast-2.compute.internal>
Tue, 18 Dec 2018 02:25:30 +0000
(
02:25
+0000)
src/inet.c
patch
|
blob
|
history
diff --git
a/src/inet.c
b/src/inet.c
index
25e5372
..
d54760d
100644
(file)
--- a/
src/inet.c
+++ b/
src/inet.c
@@
-1108,7
+1108,7
@@
bool connman_inet_compare_subnet(int index, const char *host)
return false;
if (inet_aton(host, &_host_addr) == 0)
- return
-1
;
+ return
false
;
host_addr = _host_addr.s_addr;
sk = socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);