summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorjimw@rama.(none) <>2006-09-11 16:23:45 -0700
committerjimw@rama.(none) <>2006-09-11 16:23:45 -0700
commitce0846b86291709ec0623e95321ecd8c0918f222 (patch)
treed619a30a09aa1b0a99c710b355785adf4cebeaae /mysys
parent330fb6a3beb39a7383a8babddb976f3577963014 (diff)
downloadmariadb-git-ce0846b86291709ec0623e95321ecd8c0918f222.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.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_libwrap.c4
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 */