Commit 33b30841 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Get the sign right on FIONBIO ioctl.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2647 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 42a33a77
......@@ -127,7 +127,7 @@ TCP_blocking(int sock)
{
int i;
i = 0;
i = 1;
AZ(ioctl(sock, FIONBIO, &i));
}
......@@ -136,7 +136,7 @@ TCP_nonblocking(int sock)
{
int i;
i = 1;
i = 0;
AZ(ioctl(sock, FIONBIO, &i));
}
......
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