use explicit offset widths for print_data calls

This commit is contained in:
Martin Michelsen
2022-09-01 17:52:58 -07:00
parent 6eb77a7193
commit e8f79628ca
10 changed files with 47036 additions and 47036 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void CatSession::on_channel_input(
string full_cmd = prepend_command_header(
this->channel.version, this->channel.crypt_in.get(), command, flag, data);
print_data(stdout, full_cmd);
print_data(stdout, full_cmd, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
}
void CatSession::dispatch_on_channel_error(Channel& ch, short events) {