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-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.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 | |||
@@ -26,7 +26,7 @@ | |||
26 | # define VCL_INT int | 26 | # define VCL_INT int |
27 | # define VCL_BOOL unsigned | 27 | # define VCL_BOOL unsigned |
28 | # define VCL_STRING const char * | 28 | # define VCL_STRING const char * |
29 | # define WS_Copy(w,s,l) WS_Dup(w,l) | 29 | # define WS_Copy(w,s,l) WS_Dup(w,s) |
30 | # define MOD_CTX struct sess * | 30 | # define MOD_CTX struct sess * |
31 | # define WSPTR(s) ((s)->wrk->ws) | 31 | # define WSPTR(s) ((s)->wrk->ws) |
32 | #else | 32 | #else |