diff options
author | Theodore Tso <tytso@mit.edu> | 1994-09-15 22:41:12 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1994-09-15 22:41:12 +0000 |
commit | 65fafda60c3f01a31d2dc14b7df2eb9fd7e84067 (patch) | |
tree | a7fe56802155762b572d7f3ce861ad0f6837fda9 | |
parent | a6314ba4bd49a043d3340d57a7b2ebb6baa1faf5 (diff) | |
download | krb5-65fafda60c3f01a31d2dc14b7df2eb9fd7e84067.tar.gz krb5-65fafda60c3f01a31d2dc14b7df2eb9fd7e84067.tar.xz krb5-65fafda60c3f01a31d2dc14b7df2eb9fd7e84067.zip |
index() -> strchr()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4257 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/tests/hammer/ChangeLog | 4 | ||||
-rw-r--r-- | src/tests/hammer/kdc5_hammer.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/hammer/ChangeLog b/src/tests/hammer/ChangeLog new file mode 100644 index 0000000000..f507f4fb3f --- /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 bdbc75cc84..cf347123a3 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; |