From 541f8d94504bb2e5592df26a0194e56ed17b13da Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Wed, 1 Oct 2008 22:33:32 +0000 Subject: [PATCH] Fixed a bug in kim_identity_get_components string where it would return the first component multiple times. ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20805 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kim/lib/kim_identity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kim/lib/kim_identity.c b/src/kim/lib/kim_identity.c index 41bf4a74a..a7edc8c38 100644 --- a/src/kim/lib/kim_identity.c +++ b/src/kim/lib/kim_identity.c @@ -469,7 +469,7 @@ kim_error kim_identity_get_components_string (kim_identity in_identity, kim_string new_components = NULL; kim_string component = NULL; - err = kim_identity_get_component_at_index (in_identity, 0, &component); + err = kim_identity_get_component_at_index (in_identity, i, &component); if (!err) { err = kim_string_create_from_format (&new_components, "%s/%s", -- 2.26.2