Use correct error string for getaddrinfo() and getnameinfo() failures.
authorMichael Poole <mdpoole@troilus.org>
Sun, 15 Jun 2008 13:23:22 +0000 (09:23 -0400)
committerMichael Poole <mdpoole@troilus.org>
Sun, 15 Jun 2008 13:23:22 +0000 (09:23 -0400)
commitb4caaa6cd7399af3254d80f6f82f33b28cbec029
tree1a79901d2d5e3b2c5b2d571ea0315baad493a93b
parent7d11f34f046cb69610d559f65d01a2cc050ca3f6
Use correct error string for getaddrinfo() and getnameinfo() failures.

src/ioset.c (ioset_connect): Include the error string when getaddrinfo()
  fails.
src/mail-smtp.c (smtp_fill_name): Use gai_strerror() rather than strerror().
src/ioset.c
src/mail-smtp.c