From 65fafda60c3f01a31d2dc14b7df2eb9fd7e84067 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 15 Sep 1994 22:41:12 +0000 Subject: [PATCH] index() -> strchr() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4257 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/hammer/ChangeLog | 4 ++++ src/tests/hammer/kdc5_hammer.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/tests/hammer/ChangeLog 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; -- 2.26.2