ngie 4ccbd3e676 Fix reporting errors with gai_strerror(..)
The return value (`err`) should be checked; not the `errno` value.

PR:		235200
Approved by:	emaste (mentor)
Reviewed by:	asomers, lwhsu
MFC after:	28 days
MFC with:	r343362, r343365, r343367-r343368
Differential Revision: https://reviews.freebsd.org/D18969
2019-01-26 03:43:12 +00:00
..
2017-10-31 00:07:04 +00:00
2019-01-12 21:29:54 +00:00
2017-12-27 21:36:37 +00:00
2018-03-29 19:43:29 +00:00
2019-01-10 14:35:23 +00:00
2019-01-10 14:35:23 +00:00
2018-11-04 16:08:59 +00:00
2018-03-21 14:37:04 +00:00
2018-10-12 05:27:58 +00:00
2018-06-27 19:29:15 +00:00
2018-09-19 07:05:31 +00:00
2018-09-20 09:26:10 +00:00
2018-09-19 07:06:20 +00:00
2018-09-20 09:31:27 +00:00
2018-12-31 03:08:01 +00:00
2018-09-22 13:17:30 +00:00
2018-05-23 01:20:31 +00:00
2018-06-17 18:05:27 +00:00
2018-12-29 21:18:01 +00:00
2018-12-29 06:51:10 +00:00