View | Details | Raw Unified | Return to bug 1010
Collapse All | Expand All

(-)openssh-4.0p1/channels.c.exit-deadlock (+4 lines)
Lines 1403-1408 Link Here
1403
	u_int dlen;
1403
	u_int dlen;
1404
	int len;
1404
	int len;
1405
1405
1406
	if(c->wfd != -1 && buffer_len(&c->output) > 0 && c->ostate == CHAN_OUTPUT_WAIT_DRAIN) {
1407
		debug("channel %d: forcing write", c->self);
1408
		FD_SET(c->wfd, writeset);
1409
	}
1406
	/* Send buffered output data to the socket. */
1410
	/* Send buffered output data to the socket. */
1407
	if (c->wfd != -1 &&
1411
	if (c->wfd != -1 &&
1408
	    FD_ISSET(c->wfd, writeset) &&
1412
	    FD_ISSET(c->wfd, writeset) &&

Return to bug 1010