[Upstream] Fix return value in error path. 02/195702/2
authorNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 12 Dec 2018 08:48:34 +0000 (14:18 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Mon, 17 Dec 2018 10:15:15 +0000 (10:15 +0000)
commit23254e50b44663a69d3431ff3d1840e3f586e86b
tree530b484c5669dca5d2fbb2e491f93d8949d0cefe
parentbf7dbf8354f076ec768ae24e61d6fb1e46c623af
[Upstream] Fix return value in error path.

Returning -1 in a function with bool as return value is the same as
returning true. Change to false to indicate error if inet_aton() fails.

Change-Id: I3dea40bc2506b1a2a0a65e7e838691fc3af957bd
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/inet.c