version 1.29, 2000/04/14 10:30:32 |
version 1.30, 2000/04/30 09:12:07 |
|
|
vsnprintf(buf, sizeof(buf), fmt, args); |
vsnprintf(buf, sizeof(buf), fmt, args); |
va_end(args); |
va_end(args); |
|
|
packet_start(SSH_MSG_DEBUG); |
if (compat20) { |
packet_put_string(buf, strlen(buf)); |
packet_start(SSH2_MSG_DEBUG); |
|
packet_put_char(0); /* bool: always display */ |
|
packet_put_cstring(buf); |
|
packet_put_cstring(""); |
|
} else { |
|
packet_start(SSH_MSG_DEBUG); |
|
packet_put_cstring(buf); |
|
} |
packet_send(); |
packet_send(); |
packet_write_wait(); |
packet_write_wait(); |
} |
} |