On Wed, Jan 09, 2013 at 12:02:41AM +0100, Julien Cristau wrote:
> getnameinfo() returns an error code which can be passed to
> gai_strerror() for human consumption. So use that instead of
> strerror(errno) unless the code is EAI_SYSTEM.
Makes sense. Applied, thank you!
Kind regards
Philipp Kern
getnameinfo() returns an error code which can be passed to
gai_strerror() for human consumption. So use that instead of
strerror(errno) unless the code is EAI_SYSTEM.
Signed-off-by: Julien Cristau
Cc: Philipp Kern
---
netcfg-common.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2 matches
Mail list logo