projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a6a05
)
can't use /, it is a pathname component separator!
author
John Kohl
<jtkohl@mit.edu>
Mon, 4 Mar 1991 15:10:02 +0000
(15:10 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Mon, 4 Mar 1991 15:10:02 +0000
(15:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1844
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/os/gen_rname.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/gen_rname.c
b/src/lib/krb5/os/gen_rname.c
index 24c32ef6e1d5662027060dd5a31b4fdf60334f43..2992c714a998cf2fdb6bd7bf26ecdb536de47c98 100644
(file)
--- a/
src/lib/krb5/os/gen_rname.c
+++ b/
src/lib/krb5/os/gen_rname.c
@@
-48,11
+48,11
@@
char **string;
tmp = inet_ntoa(inaddr);
tmp2 = malloc(strlen(uniq)+strlen(tmp)+1+1+5); /* 1 for NUL,
- 1 for
/
,
+ 1 for
,
,
5 for digits (65535 is max) */
if (!tmp2)
return ENOMEM;
- (void) sprintf(tmp2, "%s%s
/
%u",uniq,tmp,ntohs(port));
+ (void) sprintf(tmp2, "%s%s
,
%u",uniq,tmp,ntohs(port));
*string = tmp2;
return 0;
#else