summaryrefslogtreecommitdiff
path: root/webserver/logs.c
blob: faa1abf800303ffe8c7d782bd0574f6951c229ac (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)));
}