diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-17 07:14:33 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-17 07:14:33 +0000 |
commit | 3e150a880447536a0af58c395e5a857635e985d3 (patch) | |
tree | 867c3504f60ee9bfd2fa5db3dd66d5b3a1649ecd /kerberosIV/kdb | |
parent | 8e78a24e2e89c03ac53bd758a1781c925fe7ab71 (diff) |
r?index -> strr?chr
Diffstat (limited to 'kerberosIV/kdb')
-rw-r--r-- | kerberosIV/kdb/krb_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kerberosIV/kdb/krb_lib.c b/kerberosIV/kdb/krb_lib.c index 7763e455cf2..83167a16dd4 100644 --- a/kerberosIV/kdb/krb_lib.c +++ b/kerberosIV/kdb/krb_lib.c @@ -1,4 +1,4 @@ -/* $Id: krb_lib.c,v 1.2 1996/09/16 18:48:51 millert Exp $ */ +/* $Id: krb_lib.c,v 1.3 1997/01/17 07:11:52 millert Exp $ */ /*- * Copyright (C) 1989 by the Massachusetts Institute of Technology @@ -108,8 +108,8 @@ kerb_get_principal(name, inst, principal, max, more) * preceeded by a backslash. */ wild = 0; - if (index(name, '*') || index(name, '?') || - index(inst, '*') || index(inst, '?')) + if (strchr(name, '*') || strchr(name, '?') || + strchr(inst, '*') || strchr(inst, '?')) wild = 1; if (!wild) { @@ -214,8 +214,8 @@ kerb_get_dba(name, inst, dba, max, more) */ wild = 0; - if (index(name, '*') || index(name, '?') || - index(inst, '*') || index(inst, '?')) + if (strchr(name, '*') || strchr(name, '?') || + strchr(inst, '*') || strchr(inst, '?')) wild = 1; if (!wild) { |