r2647 - trunk/varnish-cache/bin/varnishd
    phk at projects.linpro.no 
    phk at projects.linpro.no
       
    Thu Jun  5 11:12:51 CEST 2008
    
    
  
Author: phk
Date: 2008-06-05 11:12:51 +0200 (Thu, 05 Jun 2008)
New Revision: 2647
Modified:
   trunk/varnish-cache/bin/varnishd/tcp.c
Log:
Get the sign right on FIONBIO ioctl.
Modified: trunk/varnish-cache/bin/varnishd/tcp.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/tcp.c	2008-06-02 19:45:05 UTC (rev 2646)
+++ trunk/varnish-cache/bin/varnishd/tcp.c	2008-06-05 09:12:51 UTC (rev 2647)
@@ -127,7 +127,7 @@
 {
 	int i;
 
-	i = 0;
+	i = 1;
 	AZ(ioctl(sock, FIONBIO, &i));
 }
 
@@ -136,7 +136,7 @@
 {
 	int i;
 
-	i = 1;
+	i = 0;
 	AZ(ioctl(sock, FIONBIO, &i));
 }
 
    
    
More information about the varnish-commit
mailing list