mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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:
parent
b597aaf906
commit
fd42895a68
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue