diff options
author | monty@mysql.com <> | 2005-10-13 19:24:01 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-10-13 19:24:01 +0300 |
commit | 829a4831b1054a769ed34e111ab88be0619aa06e (patch) | |
tree | e80b70fc5dabf499bc561a125c52bda1c74593eb /vio | |
parent | 852a7459662e5e428a03ed6b088a635c1a100947 (diff) | |
download | mariadb-git-829a4831b1054a769ed34e111ab88be0619aa06e.tar.gz |
Fixes during review of new code
Diffstat (limited to 'vio')
-rw-r--r-- | vio/vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/vio.c b/vio/vio.c index f60a53d2f04..427c52e29d3 100644 --- a/vio/vio.c +++ b/vio/vio.c @@ -146,7 +146,7 @@ Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost) reports that the socket is set for non-blocking when it really will block. */ - fcntl(sd, F_SETFL, vio->fcntl_mode); + fcntl(sd, F_SETFL, 0); vio->fcntl_mode= fcntl(sd, F_GETFL); #elif defined(HAVE_SYS_IOCTL_H) /* hpux */ /* Non blocking sockets doesn't work good on HPUX 11.0 */ |