version 1.98, 2002/10/23 10:32:13 |
version 1.99, 2002/11/04 10:09:51 |
|
|
vsnprintf(buf, sizeof(buf), fmt, args); |
vsnprintf(buf, sizeof(buf), fmt, args); |
va_end(args); |
va_end(args); |
|
|
|
/* Display the error locally */ |
|
log("Disconnecting: %.100s", buf); |
|
|
/* Send the disconnect message to the other side, and wait for it to get sent. */ |
/* Send the disconnect message to the other side, and wait for it to get sent. */ |
if (compat20) { |
if (compat20) { |
packet_start(SSH2_MSG_DISCONNECT); |
packet_start(SSH2_MSG_DISCONNECT); |
|
|
/* Close the connection. */ |
/* Close the connection. */ |
packet_close(); |
packet_close(); |
|
|
/* Display the error locally and exit. */ |
|
log("Disconnecting: %.100s", buf); |
|
fatal_cleanup(); |
fatal_cleanup(); |
} |
} |
|
|