From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:04:37 +0000 (+0000) Subject: consistently use HSTRERROR (ITS#4124) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c056f95fe504e6b2303eb4f9c6c57bb318d0ff7;p=openldap consistently use HSTRERROR (ITS#4124) --- diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index 089a17cafd..c913b1833c 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -303,7 +303,7 @@ int ldap_pvt_get_hname( rc = 0; } else { rc = h_errno; - *err = (char *)hp_strerror( h_errno ); + *err = (char *)HSTRERROR( h_errno ); } #if defined( LDAP_R_COMPILE ) ldap_pvt_thread_mutex_unlock( &ldap_int_resolv_mutex );