summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-07-18 05:29:30 +0000
committerLaurent Bercot <ska@appnovation.com>2024-07-18 05:29:30 +0000
commitfa960ae9a5363bbd51fb704532397fe6d5ea49f9 (patch)
treeee6b5cdaade760bc16fe6ea82f5c2b6e71552294 /src
parentd1c4602f80e395d1d6ab0453b8f0a6cc10aefadf (diff)
downloadshibari-fa960ae9a5363bbd51fb704532397fe6d5ea49f9.tar.xz
Fix build
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r--src/config/lexparse.c6
1 files changed, 5 insertions, 1 deletions
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() ;
}