]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Use more suitable type for final_ret
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 17 May 2023 03:38:09 +0000 (15:38 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 May 2023 04:53:29 +0000 (04:53 +0000)
This now matches the return type of the function.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/hdb-samba4.c

index fbce6cc03f41436d51898da4b0e2a0f5edac0068..d6bd91302649885f2b93a66299c4d9e21fe1ac33 100644 (file)
@@ -549,7 +549,7 @@ static krb5_error_code hdb_samba4_audit(krb5_context context,
        const char *pa_type = NULL;
        struct auth_usersupplied_info ui;
        size_t sa_socklen = 0;
-       int final_ret = 0;
+       krb5_error_code final_ret = 0;
 
        hdb_auth_status_obj = heim_audit_getkv((heim_svc_req_desc)r, KDC_REQUEST_KV_AUTH_EVENT);
        if (hdb_auth_status_obj == NULL) {