From 1da54ac07caa320892558a6d8e6960a2f669f3a4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 6 Sep 2005 00:34:22 +0000 Subject: r10045: metze reminded me to use the correct enum entry, rather than 0 for the return here. Andrew Bartlett (This used to be commit 73bd6c75343808952d97e32be9f624aba11c78d1) --- source4/rpc_server/drsuapi/drsuapi_cracknames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/rpc_server/drsuapi/drsuapi_cracknames.c b/source4/rpc_server/drsuapi/drsuapi_cracknames.c index 8d22246316..866faf49b9 100644 --- a/source4/rpc_server/drsuapi/drsuapi_cracknames.c +++ b/source4/rpc_server/drsuapi/drsuapi_cracknames.c @@ -105,7 +105,7 @@ static enum drsuapi_DsNameStatus LDB_lookup_spn_alias(krb5_context context, stru } if (strcasecmp(str, alias_from) == 0) { *alias_to = mapping; - return 0; + return DRSUAPI_DS_NAME_STATUS_OK; } } while (p); } -- cgit