Commit 7e944dea authored by monty@donna.mysql.com's avatar monty@donna.mysql.com

Fixed typo

parent b60ab443
...@@ -110,13 +110,13 @@ Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost) ...@@ -110,13 +110,13 @@ Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost)
vio->fcntl_mode = fcntl(sd, F_GETFL); vio->fcntl_mode = fcntl(sd, F_GETFL);
#elif defined(HAVE_SYS_IOCTL_H) /* hpux */ #elif defined(HAVE_SYS_IOCTL_H) /* hpux */
/* Non blocking sockets doesn't work good on HPUX 11.0 */ /* Non blocking sockets doesn't work good on HPUX 11.0 */
(void) ioctl(net->fd,FIOSNBIO,0); (void) ioctl(sd,FIOSNBIO,0);
#endif #endif
#else /* !defined(__WIN__) && !defined(__EMX__) */ #else /* !defined(__WIN__) && !defined(__EMX__) */
{ {
/* set to blocking mode by default */ /* set to blocking mode by default */
ulong arg=0, r; ulong arg=0, r;
r = ioctlsocket(vio->sd,FIONBIO,(void*) &arg, sizeof(arg)); r = ioctlsocket(sd,FIONBIO,(void*) &arg, sizeof(arg));
} }
#endif #endif
} }
......
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