Return to clientloop.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.210, 2009/05/25 06:48:01 | version 1.211, 2009/05/27 06:33:39 | ||
---|---|---|---|
|
|
||
/* Stop watching for window change. */ | /* Stop watching for window change. */ | ||
signal(SIGWINCH, SIG_DFL); | signal(SIGWINCH, SIG_DFL); | ||
packet_start(SSH2_MSG_DISCONNECT); | |||
packet_put_int(SSH2_DISCONNECT_BY_APPLICATION); | |||
packet_put_cstring("disconnected by user"); | |||
packet_send(); | |||
packet_write_wait(); | |||
channel_free_all(); | channel_free_all(); | ||
if (have_pty) | if (have_pty) |