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

(-)channels.c (+6 lines)
Lines 1460-1465 channel_handle_rfd(Channel *c, fd_set *r Link Here
1460
				c->type = SSH_CHANNEL_INPUT_DRAINING;
1460
				c->type = SSH_CHANNEL_INPUT_DRAINING;
1461
				debug2("channel %d: input draining.", c->self);
1461
				debug2("channel %d: input draining.", c->self);
1462
			} else {
1462
			} else {
1463
				if (len < 0 && errno != EPIPE)
1464
					error("channel %d: read: %s",
1465
					    c->self, strerror(errno));
1463
				chan_read_failed(c);
1466
				chan_read_failed(c);
1464
			}
1467
			}
1465
			return -1;
1468
			return -1;
Lines 1537-1542 channel_handle_wfd(Channel *c, fd_set *r Link Here
1537
				debug2("channel %d: input draining.", c->self);
1540
				debug2("channel %d: input draining.", c->self);
1538
				c->type = SSH_CHANNEL_INPUT_DRAINING;
1541
				c->type = SSH_CHANNEL_INPUT_DRAINING;
1539
			} else {
1542
			} else {
1543
				if (len < 0 && errno != EPIPE)
1544
					error("channel %d: write: %s",
1545
					    c->self, strerror(errno));
1540
				chan_write_failed(c);
1546
				chan_write_failed(c);
1541
			}
1547
			}
1542
			return -1;
1548
			return -1;

Return to bug 773