aboutsummaryrefslogtreecommitdiff
path: root/src/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time.c')
-rw-r--r--src/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/time.c b/src/time.c
index 32427af..b76a137 100644
--- a/src/time.c
+++ b/src/time.c
@@ -1,5 +1,5 @@
/* This file is part of vmod-tbf
- Copyright (C) 2013-2014 Sergey Poznyakoff
+ Copyright (C) 2013-2017 Sergey Poznyakoff
Vmod-tbf is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -18,13 +18,13 @@
#include <time.h>
VCL_INT
-vmod_systime(MOD_CTX ctx)
+vmod_systime(VRT_CTX)
{
return time(NULL);
}
VCL_STRING
-vmod_strftime(MOD_CTX ctx, VCL_STRING format, VCL_INT timestamp)
+vmod_strftime(VRT_CTX, VCL_STRING format, VCL_INT timestamp)
{
time_t ts = (time_t) timestamp;
size_t u, n;

Return to:

Send suggestions and report system problems to the System administrator.