diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2018-12-18 02:25:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2018-12-18 02:25:30 +0000 |
commit | 47994e23cfadc1b7a64a90f1c1971f51fde47e44 (patch) | |
tree | 9436f8841fbd0f29bdc583420c1140cfa89cc3b8 /src | |
parent | 48e25ec7f60ffcba067708732298fd85a2b3ed47 (diff) | |
parent | 23254e50b44663a69d3431ff3d1840e3f586e86b (diff) | |
download | connman-47994e23cfadc1b7a64a90f1c1971f51fde47e44.tar.gz connman-47994e23cfadc1b7a64a90f1c1971f51fde47e44.tar.bz2 connman-47994e23cfadc1b7a64a90f1c1971f51fde47e44.zip |
Merge "[Upstream] Fix return value in error path." into tizen
Diffstat (limited to 'src')
-rw-r--r-- | src/inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |