From: John Carr Date: Sun, 23 Feb 1992 12:25:36 +0000 (+0000) Subject: index -> strchr X-Git-Tag: krb5-1.0-beta2~225 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b376f89538fffc8c6ca6436c071c06b248a80f6;p=krb5.git index -> strchr git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2237 dc483132-0cff-0310-8789-dd5450dbe970 --- 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); }