(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:
Johan Danielsson
2002-05-29 16:08:23 +00:00
parent e76e0dc990
commit 09ffce82b8

View File

@@ -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).
* All rights reserved.
*
@@ -56,6 +56,7 @@ krb5_cc_register(krb5_context context,
ops->prefix);
return KRB5_CC_TYPE_EXISTS;
}
break;
}
}
if(i == context->num_cc_ops) {