[BACK]Return to session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/session.c between version 1.4 and 1.5

version 1.4, 2000/04/14 10:30:33 version 1.5, 2000/04/19 09:24:39
Line 1321 
Line 1321 
         /* disconnect channel */          /* disconnect channel */
         debug("session_exit_message: release channel %d", s->chanid);          debug("session_exit_message: release channel %d", s->chanid);
         channel_cancel_cleanup(s->chanid);          channel_cancel_cleanup(s->chanid);
         if (c->istate == CHAN_INPUT_OPEN)          /*
                 chan_read_failed(c);           * emulate a write failure with 'chan_write_failed', nobody will be
            * interested in data we write.
            * Note that we must not call 'chan_read_failed', since there could
            * be some more data waiting in the pipe.
            */
         chan_write_failed(c);          chan_write_failed(c);
         s->chanid = -1;          s->chanid = -1;
 }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5