patch-2.4.9 linux/net/khttpd/datasending.c
Next file: linux/net/khttpd/prototypes.h
Previous file: linux/net/irda/af_irda.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Wed Aug 15 01:22:18 2001
-  Orig file: 
v2.4.8/linux/net/khttpd/datasending.c
-  Orig date: 
Fri Nov 17 11:36:27 2000
diff -u --recursive --new-file v2.4.8/linux/net/khttpd/datasending.c linux/net/khttpd/datasending.c
@@ -105,8 +105,8 @@
 		
 		Space = sock_wspace(CurrentRequest->sock->sk);
 		
-		ReadSize = min(4*4096,CurrentRequest->FileLength - CurrentRequest->BytesSent);
-		ReadSize = min(ReadSize , Space );
+		ReadSize = min(int, 4 * 4096, CurrentRequest->FileLength - CurrentRequest->BytesSent);
+		ReadSize = min(int, ReadSize, Space);
 
 		if (ReadSize>0)
 		{			
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)