summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/parse.c b/src/lib/krb5/krb/parse.c
index b1aacb2a7..f89e74a64 100644
--- a/src/lib/krb5/krb/parse.c
+++ b/src/lib/krb5/krb/parse.c
@@ -198,7 +198,7 @@ krb5_parse_name(name, nprincipal)
*/
for (i=0; i < components; i++)
krb5_princ_component(principal, i)->length = fcompsize[i];
- krb5_princ_realm(principal)->length = size;
+ krb5_princ_realm(principal)->length = realmsize;
}
/*
* Now, we need to allocate the space for the strings themselves.....