summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2015-02-25 16:08:02 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2015-02-25 16:08:02 (GMT)
commit1d1ce1410bbee2729e9eee147fd6f6fd7e5f54bd (patch) (side-by-side diff)
treef57faffc49fc912fc429e34ce65bba15e6eda484
parentc761f530a0d6bd8fddfff6568dad6dc79161eefe (diff)
downloadvmod-dbrw-1d1ce1410bbee2729e9eee147fd6f6fd7e5f54bd.tar.gz
vmod-dbrw-1d1ce1410bbee2729e9eee147fd6f6fd7e5f54bd.tar.bz2
Fix Varnish 3 compatibility
* src/vmod_dbrw.c (WS_Copy): Fix definition.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/vmod_dbrw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c
index 13917433..9f517a8 100644
--- a/src/vmod_dbrw.c
+++ b/src/vmod_dbrw.c
@@ -24,7 +24,7 @@
# include "bin/varnishd/cache.h"
# define VCL_VOID void
# 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 DBRW_CTX struct sess *
# define WSPTR(s) ((s)->wrk->ws)
#else

Return to:

Send suggestions and report system problems to the System administrator.