From 7b376f89538fffc8c6ca6436c071c06b248a80f6 Mon Sep 17 00:00:00 2001 From: John Carr Date: Sun, 23 Feb 1992 12:25:36 +0000 Subject: [PATCH] index -> strchr git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2237 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/imp_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gssapi/imp_name.c b/src/lib/gssapi/imp_name.c index 0d4e9862e..7c725df9a 100644 --- a/src/lib/gssapi/imp_name.c +++ b/src/lib/gssapi/imp_name.c @@ -85,7 +85,7 @@ OM_uint32 gss_service_import_name(minor_status, input_name_buffer, output_name) * Assume the first eight characters are "service:" */ service = cp = str + 8; - if (!(cp = index(cp, '@'))) { + if (!(cp = strchr(cp, '@'))) { free(str); return(GSS_S_BAD_NAME); } -- 2.26.2