Commit fd42895a authored by unknown's avatar unknown
Browse files

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
parent b597aaf9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */