Commit 3ff12684 authored by Sergei Golubchik's avatar Sergei Golubchik

compilation failure with libwrap

parent 2974093a
......@@ -5730,7 +5730,8 @@ void handle_connections_sockets()
#ifdef HAVE_LIBWRAP
{
if (sock == base_ip_sock || sock == extra_ip_sock)
if (mysql_socket_getfd(sock) == mysql_socket_getfd(base_ip_sock) ||
mysql_socket_getfd(sock) == mysql_socket_getfd(extra_ip_sock))
{
struct request_info req;
signal(SIGCHLD, SIG_DFL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment