From 519eb0ba91548eade4ae09fca2d89716ed8944fd Mon Sep 17 00:00:00 2001 From: hpa Date: Fri, 10 Aug 2001 17:58:46 +0000 Subject: [PATCH] Add missing #ifdef WITH_REGEX --- tftpd/tftpd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tftpd/tftpd.c b/tftpd/tftpd.c index 6684afd..af7d635 100644 --- a/tftpd/tftpd.c +++ b/tftpd/tftpd.c @@ -304,8 +304,10 @@ main(int argc, char **argv) exit(EX_OSERR); } +#ifdef WITH_REGEX if ( rewrite_file ) rewrite_rules = read_remap_rules(rewrite_file); +#endif /* If we're running standalone, set up the input port */ if ( listen ) {