From: John Kohl <jtkohl@mit.edu> Date: Mon, 29 Oct 1990 14:20:55 +0000 (+0000) Subject: change rindex to strrchr X-Git-Tag: krb5-1.0-alpha2~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56770e84b9871aff96bca0548a23d46f334350a6;p=krb5.git change rindex to strrchr change sigtype to krb5_sigtype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1362 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/main.c b/src/kdc/main.c index 422d2165e..d422b25bb 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -104,7 +104,7 @@ setup_com_err() return; } -sigtype +krb5_sigtype request_exit() { signal_requests_exit = 1; @@ -317,8 +317,8 @@ char *argv[]; krb5_error_code retval; int errout = 0; - if (rindex(argv[0], '/')) - argv[0] = rindex(argv[0], '/')+1; + if (strrchr(argv[0], '/')) + argv[0] = strrchr(argv[0], '/')+1; setup_com_err();