From: Art Cancro Date: Mon, 13 Sep 2010 03:03:04 +0000 (-0400) Subject: Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel X-Git-Tag: v8.01~719 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=097742f28f8ed713be6e99e6e74ef2f0c248312e;hp=683cf04a13751c32c61ee9ae6949f2886a6515ba Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel --- diff --git a/webcit/locate_host.c b/webcit/locate_host.c index 8f1a76955..b3346e4c7 100644 --- a/webcit/locate_host.c +++ b/webcit/locate_host.c @@ -19,6 +19,7 @@ */ #include "webcit.h" +#include "webserver.h" /* * IPv4/IPv6 locate_host() @@ -32,4 +33,5 @@ void locate_host(StrBuf *tbuf, int client_socket) getpeername(client_socket, (struct sockaddr *)&clientaddr, &addrlen); getnameinfo((struct sockaddr *)&clientaddr, addrlen, clienthost, sizeof(clienthost), NULL, 0, 0); StrBufAppendBufPlain(tbuf, clienthost, -1, 0); + lprintf(9, "Client is at %s\n", clienthost); }