summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 6b1cb0a..1efa8c5 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket.c 8.3 (Berkeley) 4/15/94
- * $Id: uipc_socket.c,v 1.49 1999/01/10 01:58:25 eivind Exp $
+ * $Id: uipc_socket.c,v 1.50 1999/01/20 17:31:54 fenner Exp $
*/
#include <sys/param.h>
@@ -531,7 +531,7 @@ nopages:
(resid <= 0)) ?
PRUS_EOF :
/* If there is more to send set PRUS_MORETOCOME */
- (resid > 0) ? PRUS_MORETOCOME : 0,
+ (resid > 0 && space > 0) ? PRUS_MORETOCOME : 0,
top, addr, control, p);
splx(s);
if (dontroute)
OpenPOWER on IntegriCloud