(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:
@@ -181,7 +181,7 @@ mcc_get_next (krb5_context context,
|
|||||||
{
|
{
|
||||||
struct link *l;
|
struct link *l;
|
||||||
|
|
||||||
l = MCC_CURSOR(cursor);
|
l = MCC_CURSOR(*cursor);
|
||||||
if (l != NULL) {
|
if (l != NULL) {
|
||||||
MCC_CURSOR(*cursor) = l->next;
|
MCC_CURSOR(*cursor) = l->next;
|
||||||
return krb5_copy_creds_contents (context,
|
return krb5_copy_creds_contents (context,
|
||||||
|
Reference in New Issue
Block a user