ecore_con: Not returning error if port is less than zero for local sockets.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Fri, 6 Mar 2015 15:26:24 +0000 (16:26 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 6 Mar 2015 19:19:21 +0000 (20:19 +0100)
commit9b1cdff941a429f13698184e02b37b2ad41fcaf4
treecfec4789d4d01ed1e551ff4a70d98554f8667aa8
parenta6b5ee94f0b4f01f88a038574ee75ed8ab98694b
ecore_con: Not returning error if port is less than zero for local sockets.

Summary:
If the socket is local, then there is no need to through error if the port is less than 0 (i.e., negetive). The behavior is same in _ecore_con_connector_eo_base_finalize funtion. So applied the same here. There is code in ecore_con_local.c to handle if port is less than zero for local sockets.
In _ecore_con_connector_eo_base_finalize function, I've added a space just so that it shows difference in phabricator and  would be easy for you to review.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2089
src/lib/ecore_con/ecore_con.c