From: Ken Raeburn Date: Tue, 31 Oct 2006 01:10:34 +0000 (+0000) Subject: * conv_princ.c (krb5_425_conv_principal): Fix silly typo in arrays' sizes in X-Git-Tag: krb5-1.7-alpha1~1479 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7920429b8f1117eb01adf47632503f790e6172c4;p=krb5.git * conv_princ.c (krb5_425_conv_principal): Fix silly typo in arrays' sizes in previous change. ticket: 4534 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18751 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index 5648b28f7..b0abae360 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -246,14 +246,16 @@ krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, } krb5_error_code KRB5_CALLCONV -krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) +krb5_425_conv_principal(krb5_context context, const char *name, + const char *instance, const char *realm, + krb5_principal *princ) { const struct krb_convert *p; char buf[256]; /* V4 instances are limited to 40 characters */ krb5_error_code retval; char *domain, *cp; char **full_name = 0; - const char *names[2], *names2[5]; + const char *names[5], *names2[2]; void* iterator = NULL; char** v4realms = NULL; char* realm_name = NULL;