const-ize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7130 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -98,7 +98,7 @@ allocate_ccache (krb5_context context,
|
||||
p = malloc(sizeof(*p));
|
||||
if(p == NULL)
|
||||
return KRB5_CC_NOMEM;
|
||||
p->ops = (krb5_cc_ops *)ops;
|
||||
p->ops = ops;
|
||||
*id = p;
|
||||
ret = p->ops->resolve(context, id, residual);
|
||||
if(ret)
|
||||
@@ -150,7 +150,7 @@ krb5_cc_gen_new(krb5_context context,
|
||||
p = malloc (sizeof(*p));
|
||||
if (p == NULL)
|
||||
return KRB5_CC_NOMEM;
|
||||
p->ops = (krb5_cc_ops *)ops;
|
||||
p->ops = ops;
|
||||
*id = p;
|
||||
return p->ops->gen_new(context, id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user