]> git.sur5r.net Git - openldap/commitdiff
consistently use HSTRERROR (ITS#4124)
authorPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 15:04:37 +0000 (15:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 15:04:37 +0000 (15:04 +0000)
libraries/libldap/util-int.c

index 089a17cafd1ffd23c243d64041bdc66cfa3fcd6f..c913b1833c0da996f987dd0551a685af4da7b7aa 100644 (file)
@@ -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 );