From 9c056f95fe504e6b2303eb4f9c6c57bb318d0ff7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:04:37 +0000 Subject: [PATCH] consistently use HSTRERROR (ITS#4124) --- libraries/libldap/util-int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5