[dovecot-cvs] dovecot/src/lib ostream-file.c,1.16,1.17

cras at procontrol.fi cras at procontrol.fi
Sat May 17 13:08:12 EEST 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv5671/lib

Modified Files:
	ostream-file.c 
Log Message:
Don't try to cork files.



Index: ostream-file.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/ostream-file.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ostream-file.c	9 Apr 2003 20:28:30 -0000	1.16
+++ ostream-file.c	17 May 2003 09:08:10 -0000	1.17
@@ -882,9 +882,12 @@
 		   don't bother to even try with them. */
 		fstream->no_sendfile = TRUE;
 #endif
+		fstream->no_socket_cork = FALSE;
 	} else {
-		if (net_getsockname(fd, NULL, NULL) < 0)
+		if (net_getsockname(fd, NULL, NULL) < 0) {
 			fstream->no_sendfile = TRUE;
+			fstream->no_socket_cork = FALSE;
+		}
 	}
 	return ostream;
 }



More information about the dovecot-cvs mailing list