summaryrefslogtreecommitdiff
path: root/src/webserver/logs.c
blob: 405b4882bd86aecfb72bcc189e39f08169680f2f (plain) (blame)
1
2
3
4
5
6
7
8
#include <time.h>

void log_visit(char *query, char *ip)
{
	time_t timer;
	timer=time(NULL);
	printf("%s - \"%s\" - %s", ip, query, asctime(localtime(&timer)));
}