From: Theodore Tso Date: Thu, 15 Sep 1994 22:41:12 +0000 (+0000) Subject: index() -> strchr() X-Git-Tag: krb5-1.0-beta4.3~106 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=65fafda60c3f01a31d2dc14b7df2eb9fd7e84067;p=krb5.git index() -> strchr() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4257 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/hammer/ChangeLog b/src/tests/hammer/ChangeLog new file mode 100644 index 000000000..f507f4fb3 --- /dev/null +++ b/src/tests/hammer/ChangeLog @@ -0,0 +1,4 @@ +Thu Sep 15 17:38:51 1994 Theodore Y. Ts'o (tytso@dcl) + + * kdc_hammer.c (get_server_key): index() -> strchr() + diff --git a/src/tests/hammer/kdc5_hammer.c b/src/tests/hammer/kdc5_hammer.c index bdbc75cc8..cf347123a 100644 --- a/src/tests/hammer/kdc5_hammer.c +++ b/src/tests/hammer/kdc5_hammer.c @@ -262,7 +262,7 @@ OLDDECLARG(krb5_keyblock **,key) /* The kdb5_create does not include realm names in the password ... this is ugly */ - at = index(princ_str, '@'); + at = strchr(princ_str, '@'); if (at) *at = '\0'; pwd.data = princ_str;