Fix typos.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1893 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-06-10 14:54:39 +00:00
parent 7d1a57482e
commit 2bad322967
2 changed files with 3 additions and 4 deletions

View File

@@ -174,7 +174,7 @@ krb5_get_salt (krb5_principal princ,
strncpy (p, princ->realm.data, princ->realm.length);
p += princ->realm.length;
for (i = 0; i < princ->ncomp; ++i) {
strcat (p, princ->comp[i].data, princ->comp[i].length);
strncat (p, princ->comp[i].data, princ->comp[i].length);
p += princ->comp[i].length;
}
#endif