add some TODOs

This commit is contained in:
Martin Michelsen
2022-12-17 10:31:55 -08:00
parent e5a9b1f330
commit aa19fd347e
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -593,6 +593,8 @@ void ReplaySession::dispatch_on_error(Channel& ch, short events) {
void ReplaySession::on_command_received(
shared_ptr<Client> c, uint16_t command, uint32_t flag, string& data) {
// TODO: Use the iovec form of print_data here instead of
// prepend_command_header (which copies the string)
string full_command = prepend_command_header(
c->version, c->channel.crypt_in.get(), command, flag, data);
this->commands_received++;