index() -> strchr()
authorTheodore Tso <tytso@mit.edu>
Thu, 15 Sep 1994 22:41:12 +0000 (22:41 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 15 Sep 1994 22:41:12 +0000 (22:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4257 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/hammer/ChangeLog [new file with mode: 0644]
src/tests/hammer/kdc5_hammer.c

diff --git a/src/tests/hammer/ChangeLog b/src/tests/hammer/ChangeLog
new file mode 100644 (file)
index 0000000..f507f4f
--- /dev/null
@@ -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()
+
index bdbc75cc848b372b202be68fc7f5bbcc5c0c5b42..cf347123a355f9bbd2a6ae391074a01480f51d86 100644 (file)
@@ -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;