Invoke gethostbyname once, handle errors better
authorAlan D. Brunelle <alan.brunelle@hp.com>
Wed, 11 Feb 2009 18:10:13 +0000 (13:10 -0500)
committerAlan D. Brunelle <alan.brunelle@hp.com>
Wed, 11 Feb 2009 18:10:13 +0000 (13:10 -0500)
commite58f3937548ed115ac5104817f2a9df53830f381
treee6812806e72b0ab80e5130f68b4129748b99fbac
parentd5302b03b2728a27f14c4f260ce6a5247ea87c6e
Invoke gethostbyname once, handle errors better

Instead of invoking gethostbyname once per client, we only need to do it
once at initialization time. Plus: gethostbyname has a non-standard
errno reporting mechanism, handle this better.
blktrace.c