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