diff options
Diffstat (limited to 'webserver/logs.c')
-rw-r--r-- | webserver/logs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/webserver/logs.c b/webserver/logs.c index faa1abf80..405b4882b 100644 --- a/webserver/logs.c +++ b/webserver/logs.c @@ -1,8 +1,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)));
-}
+#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))); +} |