Lines Matching refs:fd_out
320 pclient->fd_out = fd;
337 i_close_fd(&pclient->fd_out);
338 pclient->fd_in = pclient->fd_out = -1;
348 if ((errno = net_geterror(pclient->fd_out)) != 0) {
352 i_close_fd(&pclient->fd_out);
353 pclient->fd_in = pclient->fd_out = -1;
356 pclient->io = io_add(pclient->fd_out, IO_WRITE,
398 pclient->fd_out = fd;
527 int fd_out = pclient->fd_out, fd_in = pclient->fd_in;
529 pclient->fd_out = -1;
530 if (fd_out >= 0 && pclient->set.use_dotstream)
534 if (fd_out >= 0) {
536 if (shutdown(fd_out, SHUT_WR) < 0 && errno != ENOTCONN) {
541 } else if (close(fd_out) < 0) {