From 3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 31 Aug 2010 11:01:23 +0200 Subject: s3-kerberos: fix flush_keytab() compile with heimdal. krb5_kt_cursor is not a pointer in heimdal but a struct. Guenther --- source3/librpc/rpc/dcerpc_krb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/librpc/rpc/dcerpc_krb5.c b/source3/librpc/rpc/dcerpc_krb5.c index 561259adf7..ede4f6b597 100644 --- a/source3/librpc/rpc/dcerpc_krb5.c +++ b/source3/librpc/rpc/dcerpc_krb5.c @@ -27,7 +27,7 @@ static krb5_error_code flush_keytab(krb5_context krbctx, krb5_keytab keytab) { krb5_error_code ret; - krb5_kt_cursor kt_cursor = NULL; + krb5_kt_cursor kt_cursor; krb5_keytab_entry kt_entry; ZERO_STRUCT(kt_entry); -- cgit