From: Paul Park Date: Thu, 11 May 1995 17:06:25 +0000 (+0000) Subject: Correctly calculate beginning of first component X-Git-Tag: krb5-1.0-beta6~1997 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74311dbe335a1b3d5d605d172a6341a20d2e2a71;p=krb5.git Correctly calculate beginning of first component git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5800 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v5client/kadmin5.c b/src/kadmin/v5client/kadmin5.c index 8c903b9e2..9a51bbf99 100644 --- a/src/kadmin/v5client/kadmin5.c +++ b/src/kadmin/v5client/kadmin5.c @@ -1279,7 +1279,7 @@ kadmin_startup(argc, argv) char *action = (char *) NULL; programname = strrchr(argv[0], (int) '/'); - programname = (programname) ? programname++ : argv[0]; + programname = (programname) ? programname+1 : argv[0]; while ((option = getopt(argc, argv, "r:p:mt:")) != EOF) { switch (option) { case 'r':