diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/glue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal_build/glue.c b/source4/heimdal_build/glue.c index dbfa82ddcf..106a733a94 100644 --- a/source4/heimdal_build/glue.c +++ b/source4/heimdal_build/glue.c @@ -33,7 +33,7 @@ krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses * res->len = iface_count(); res->val = malloc_array_p(HostAddress, res->len); if (res->val == NULL) { - return KRB5_CC_NOMEM; + return ENOMEM; } for (i=0;i<res->len;i++) { const char *ip = iface_n_ip(i); @@ -41,7 +41,7 @@ krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses * res->val[i].address.length = 4; res->val[i].address.data = malloc(4); if (res->val[i].address.data == NULL) { - return KRB5_CC_NOMEM; + return ENOMEM; } ((struct in_addr *)res->val[i].address.data)->s_addr = sys_inet_addr(ip); } |