summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-09-15 14:31:25 +0200
committerunknown <msvensson@shellback.(none)>2006-09-15 14:31:25 +0200
commit0deefdd3a7e90add2aacfe6c88fe2f07705be525 (patch)
tree482353d4f225f7d0c60cc3e0a17f067b44cdd1f3 /vio
parent39d888ccd14930d7f06dfeff72f074fb23bdda42 (diff)
parent3860571e956d0ccd730384271400c6d34325bd93 (diff)
downloadmariadb-git-0deefdd3a7e90add2aacfe6c88fe2f07705be525.tar.gz
Merge shellback.(none):/home/msvensson/mysql/work/my50-work
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint vio/viosocket.c: Auto merged
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index bd4e1e3c770..3ce1c994d79 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -276,7 +276,7 @@ int vio_close(Vio * vio)
if (vio->type != VIO_CLOSED)
{
DBUG_ASSERT(vio->sd >= 0);
- if (shutdown(vio->sd,2))
+ if (shutdown(vio->sd, SHUT_RDWR))
r= -1;
if (closesocket(vio->sd))
r= -1;