diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2022-08-21 21:26:19 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2022-08-21 21:26:19 +0200 |
commit | d900b5b8450c679877b288017152c96509e3fe90 (patch) | |
tree | 3130d15eeea25e5b2cc61b9602f2603df17c4844 /src | |
parent | cb7d4b5a74312c38f9dc8d0d20bcbaf31ed5186b (diff) | |
download | vmod-dbrw-master.tar.gz vmod-dbrw-master.tar.bz2 |
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) { |