From fa960ae9a5363bbd51fb704532397fe6d5ea49f9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Jul 2024 05:29:30 +0000 Subject: Fix build Signed-off-by: Laurent Bercot --- src/config/lexparse.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/config') diff --git a/src/config/lexparse.c b/src/config/lexparse.c index f1b3600..fbf1431 100644 --- a/src/config/lexparse.c +++ b/src/config/lexparse.c @@ -40,6 +40,7 @@ enum directivevalue_e T_VERBOSITY, T_MAXTCP, T_LISTEN, + T_ACCEPT, T_SERVER, T_FORWARD, } ; @@ -121,6 +122,10 @@ static inline void parse_listen (char const *s, size_t const *word, size_t n, md } } +static inline void parse_accept (char const *s, size_t const *word, size_t n, mdt const *md) +{ +} + static inline void parse_server (char const *s, size_t const *word, size_t n, mdt const *md, int forward) { char const *x = forward ? "forward" : "server" ; @@ -250,5 +255,4 @@ void conf_lexparse (buffer *b, char const *ifile) } genalloc_free(size_t, &words) ; stralloc_free(&sa) ; - default_accept() ; } -- cgit v1.3.1