(mcc_get_next): get the current cursor correctly

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6057 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-04-27 23:52:06 +00:00
parent 9a129fa89f
commit 17b23dc3b6

View File

@@ -181,7 +181,7 @@ mcc_get_next (krb5_context context,
{
struct link *l;
l = MCC_CURSOR(cursor);
l = MCC_CURSOR(*cursor);
if (l != NULL) {
MCC_CURSOR(*cursor) = l->next;
return krb5_copy_creds_contents (context,