From fd42895a680e21b9ffa65e8e300c753ce23e551f Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 11 Sep 2006 16:23:45 -0700 Subject: Bug #18246: compilation error with tcp_wrapper Fix the functions in my_libwrap.c to return the results of the underlying call to libwrap. mysys/my_libwrap.c: Make my_hosts_access() and my_eval_client() return their results --- mysys/my_libwrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysys') diff --git a/mysys/my_libwrap.c b/mysys/my_libwrap.c index be8adbab0a1..80fca127716 100644 --- a/mysys/my_libwrap.c +++ b/mysys/my_libwrap.c @@ -31,12 +31,12 @@ void my_fromhost(struct request_info *req) int my_hosts_access(struct request_info *req) { - hosts_access(req); + return hosts_access(req); } char *my_eval_client(struct request_info *req) { - eval_client(req); + return eval_client(req); } #endif /* HAVE_LIBWRAP */ -- cgit v1.2.1