aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vmod-sql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmod-sql.c b/src/vmod-sql.c
index c16e11c..df5dae9 100644
--- a/src/vmod-sql.c
+++ b/src/vmod-sql.c
@@ -23,13 +23,13 @@
#if VARNISHVERSION == 3
# include "bin/varnishd/cache.h"
# define VCL_VOID void
# define VCL_INT int
# define VCL_BOOL unsigned
# define VCL_STRING const char *
-# define WS_Copy(w,s,l) WS_Dup(w,l)
+# define WS_Copy(w,s,l) WS_Dup(w,s)
# define MOD_CTX struct sess *
# define WSPTR(s) ((s)->wrk->ws)
#else
# include "bin/varnishd/cache/cache.h"
# define MOD_CTX const struct vrt_ctx *
# define WSPTR(s) ((s)->ws)

Return to:

Send suggestions and report system problems to the System administrator.