X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Flocate_host.c;h=d015f53f54ab1e6df2e7186a0f346ef2e5e297a5;hb=HEAD;hp=72a73cca7395dad5bb04def1761118f5b4afe39c;hpb=0f78ec967e0d2038722dddc0194cf11de59dc623;p=citadel.git diff --git a/webcit/locate_host.c b/webcit/locate_host.c index 72a73cca7..d3ba61707 100644 --- a/webcit/locate_host.c +++ b/webcit/locate_host.c @@ -13,7 +13,7 @@ */ #include "webcit.h" -#include "webserver.h" + /* * IPv4/IPv6 locate_host() @@ -27,5 +27,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); - syslog(9, "Client is at %s\n", clienthost); + syslog(LOG_DEBUG, "Client is at %s\n", clienthost); }