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
This commit is contained in:
unknown 2006-09-11 16:23:45 -07:00
parent b597aaf906
commit fd42895a68

View file

@ -31,12 +31,12 @@ void my_fromhost(struct request_info *req)
int my_hosts_access(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) char *my_eval_client(struct request_info *req)
{ {
eval_client(req); return eval_client(req);
} }
#endif /* HAVE_LIBWRAP */ #endif /* HAVE_LIBWRAP */