projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc3afa
)
Correctly calculate beginning of first component
author
Paul Park
<pjpark@mit.edu>
Thu, 11 May 1995 17:06:25 +0000
(17:06 +0000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/src/kadmin/v5client/kadmin5.c
b/src/kadmin/v5client/kadmin5.c
index 8c903b9e2309332fb58d388091f46a2dc4762036..9a51bbf998ad4b6669d5b49e0cad678b750aabb7 100644
(file)
--- 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':