aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2022-08-21 21:26:19 +0200
committerSergey Poznyakoff <gray@gnu.org>2022-08-21 21:26:19 +0200
commitd900b5b8450c679877b288017152c96509e3fe90 (patch)
tree3130d15eeea25e5b2cc61b9602f2603df17c4844 /src
parentcb7d4b5a74312c38f9dc8d0d20bcbaf31ed5186b (diff)
downloadvmod-dbrw-master.tar.gz
vmod-dbrw-master.tar.bz2
Version 2.8: Support for Varnish 7.1HEADv2.8master
Diffstat (limited to 'src')
-rw-r--r--src/vmod_dbrw.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c
index 3509d04..f6b6446 100644
--- a/src/vmod_dbrw.c
+++ b/src/vmod_dbrw.c
@@ -1,5 +1,5 @@
/* This file is part of vmod-dbrw
- Copyright (C) 2013-2020 Sergey Poznyakoff
+ Copyright (C) 2013-2022 Sergey Poznyakoff
Vmod-dbrw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -380,6 +380,10 @@ expand_backref(VRT_CTX, const char *str, const char *val,
#define ISEMPTY(s) ((s) == NULL || (s)[0] == 0)
+#if VARNISHAPI_MAJOR > 6
+# define vrt_magic_string_end 0
+#endif
+
static void
dbrw_sethdr(VRT_CTX, int where, const char *what, const char *value)
{

Return to:

Send suggestions and report system problems to the System administrator.