ENOMEM, not ret

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24984 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-03-29 09:02:08 +00:00
parent f0366476c5
commit 18d83c99de

View File

@@ -345,7 +345,7 @@ krb5_config_parse_file_multi (krb5_context context,
if (home) {
asprintf(&newfname, "%s%s", home, &fname[1]);
if (newfname == NULL) {
krb5_set_error_message(context, ret,
krb5_set_error_message(context, ENOMEM,
N_("malloc: out of memory", ""));
return ENOMEM;
}