From cfc982065e569b95f2feb9d01cd952b72572845a Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 24 Dec 2006 05:43:34 +0000 Subject: [PATCH] * citserver.c: we now ask locate_host() to fill in the CC->cs_addr string. I don't know why we weren't doing this before. --- citadel/citserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/citserver.c b/citadel/citserver.c index 54e57695d..df8599791 100644 --- 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 { -- 2.39.2