diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vmod_dbrw.c | 6 |
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) { |