(krb5_cc_register): break out of loop when the same type is found;
spotted by Wynn Wilkes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11026 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997-2001 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997-2002 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -56,6 +56,7 @@ krb5_cc_register(krb5_context context,
|
|||||||
ops->prefix);
|
ops->prefix);
|
||||||
return KRB5_CC_TYPE_EXISTS;
|
return KRB5_CC_TYPE_EXISTS;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(i == context->num_cc_ops) {
|
if(i == context->num_cc_ops) {
|
||||||
|
Reference in New Issue
Block a user