diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-02-25 18:11:50 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-02-25 18:11:50 +0200 |
commit | a1c5a6545f5500ba7448e5eeccb3a833dcde8453 (patch) | |
tree | 515034c373f5ccff5d158ebe562220a80d6f756c | |
parent | 7d22dc4ff78f2525589809fdbe77044acffd85be (diff) | |
download | vmod-sql-varnish-4.0.tar.gz vmod-sql-varnish-4.0.tar.bz2 |
Fix Varnish 3 compatibilityvarnish-4.0
* src/vmod-sql.c (WS_Copy): Fix definition
-rw-r--r-- | src/vmod-sql.c | 2 |
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) |