From 126ce626c0e0ef900a19c1643efe884f95938892 Mon Sep 17 00:00:00 2001 From: celest Date: Mon, 21 Mar 2005 06:06:21 +0000 Subject: * Moved /tool and /webserver to under /src and added 'make tools' and 'make web-server' * Removed ladmin compiling from 'make sql' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1261 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/webserver/logs.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/webserver/logs.c (limited to 'src/webserver/logs.c') diff --git a/src/webserver/logs.c b/src/webserver/logs.c new file mode 100644 index 000000000..faa1abf80 --- /dev/null +++ b/src/webserver/logs.c @@ -0,0 +1,8 @@ +#include + +void log_visit(char *query, char *ip) +{ + time_t timer; + timer=time(NULL); + printf("%s - \"%s\" - %s", ip, query, asctime(localtime(&timer))); +} -- cgit v1.2.3-70-g09d2