aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-02-25 18:11:50 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-02-25 18:11:50 +0200
commita1c5a6545f5500ba7448e5eeccb3a833dcde8453 (patch)
tree515034c373f5ccff5d158ebe562220a80d6f756c
parent7d22dc4ff78f2525589809fdbe77044acffd85be (diff)
downloadvmod-sql-a1c5a6545f5500ba7448e5eeccb3a833dcde8453.tar.gz
vmod-sql-a1c5a6545f5500ba7448e5eeccb3a833dcde8453.tar.bz2
Fix Varnish 3 compatibilityvarnish-4.0
* src/vmod-sql.c (WS_Copy): Fix definition
-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
@@ -26,7 +26,7 @@
# 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

Return to:

Send suggestions and report system problems to the System administrator.