projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb904e4
)
* citserver.c: we now ask locate_host() to fill in
author
Art Cancro
<ajc@citadel.org>
Sun, 24 Dec 2006 05:43:34 +0000
(
05:43
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sun, 24 Dec 2006 05:43:34 +0000
(
05:43
+0000)
the CC->cs_addr string. I don't know why we weren't doing this before.
citadel/citserver.c
patch
|
blob
|
history
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index 54e57695dad4f037396fe53cbd0cda2c5747a031..df8599791b7868b94fdd9e49d1f50c02a349d222 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-417,7
+417,7
@@
void cmd_iden(char *argbuf)
lprintf(CTDL_DEBUG, "Looking up hostname '%s'\n", from_host);
if ((addr.s_addr = inet_addr(from_host)) != -1) {
locate_host(CC->cs_host, sizeof CC->cs_host,
-
NULL, 0
,
+
CC->cs_addr, sizeof CC->cs_addr
,
&addr);
}
else {