Correctly calculate beginning of first component
authorPaul Park <pjpark@mit.edu>
Thu, 11 May 1995 17:06:25 +0000 (17:06 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 11 May 1995 17:06:25 +0000 (17:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5800 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5client/kadmin5.c

index 8c903b9e2309332fb58d388091f46a2dc4762036..9a51bbf998ad4b6669d5b49e0cad678b750aabb7 100644 (file)
@@ -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':