git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23773 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-07 21:22:54 +00:00
parent 92132c3b82
commit e20f6117be

View File

@@ -42,7 +42,8 @@ copy_hostname(krb5_context context,
{
*new_hostname = strdup (orig_hostname);
if (*new_hostname == NULL) {
krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
krb5_set_error_message(context, ENOMEM,
N_("malloc: out of memory", ""));
return ENOMEM;
}
strlwr (*new_hostname);
@@ -77,7 +78,7 @@ krb5_expand_hostname (krb5_context context,
freeaddrinfo (ai);
if (*new_hostname == NULL) {
krb5_set_error_message(context, ENOMEM,
"malloc: out of memory");
N_("malloc: out of memory", ""));
return ENOMEM;
} else {
return 0;