diff options
author | unknown <jimw@rama.(none)> | 2006-09-11 16:23:45 -0700 |
---|---|---|
committer | unknown <jimw@rama.(none)> | 2006-09-11 16:23:45 -0700 |
commit | fd42895a680e21b9ffa65e8e300c753ce23e551f (patch) | |
tree | d619a30a09aa1b0a99c710b355785adf4cebeaae /mysys | |
parent | b597aaf906b4bdda7fb7ccf34943fff4a077df58 (diff) | |
download | mariadb-git-fd42895a680e21b9ffa65e8e300c753ce23e551f.tar.gz |
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
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_libwrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |