projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18bdf70
)
don't include null in length count
author
John Kohl
<jtkohl@mit.edu>
Fri, 27 Apr 1990 17:14:59 +0000
(17:14 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 27 Apr 1990 17:14:59 +0000
(17:14 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@624
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/parse.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/parse.c
b/src/lib/krb5/krb/parse.c
index 3c93a154b4b47a40769d8df04777664c85d065d7..5bc127a544501b8aa6b09640adf58cbeada23364 100644
(file)
--- a/
src/lib/krb5/krb/parse.c
+++ b/
src/lib/krb5/krb/parse.c
@@
-99,7
+99,7
@@
krb5_principal *principal;
return(ENOMEM);
}
}
- retprinc[0]->length = strlen(realmname)
+1
;
+ retprinc[0]->length = strlen(realmname);
retprinc[0]->data = realmname;
/* cp points to the beginning of the current component,