diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-08 18:26:37 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-08 18:26:37 +0200 |
commit | 1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29 (patch) | |
tree | 4299cdcfbdf378b575948f0870ef6c365a9e8095 /client/red_channel.cpp | |
parent | 925f6387c8b5bd63ecd128c9187d8424607e0fa8 (diff) | |
download | spice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.tar.gz spice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.tar.xz spice-1a6e77d6d4da9c73dc706574ea3e3fbaa8142f29.zip |
Fix various misspellings
letancy -> latency
compund -> compound
SpicedSubMessage -> SpiceSubMessage
modifaiers -> modifiers
massage -> message
outgoiong -> outgoing
AlphaBlnd -> AlphaBlend
remoth -> remote
modifires -> modifiers
secore -> secure
Diffstat (limited to 'client/red_channel.cpp')
-rw-r--r-- | client/red_channel.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/client/red_channel.cpp b/client/red_channel.cpp index 3fa3f51a..b475927b 100644 --- a/client/red_channel.cpp +++ b/client/red_channel.cpp @@ -336,9 +336,9 @@ void RedChannel::post_message(RedChannel::OutMessage* message) _send_trigger.trigger(); } -RedPeer::CompundInMessage *RedChannel::recive() +RedPeer::CompoundInMessage *RedChannel::recive() { - CompundInMessage *message = RedChannelBase::recive(); + CompoundInMessage *message = RedChannelBase::recive(); on_message_recived(); return message; } @@ -589,12 +589,12 @@ void RedChannel::recive_messages() _incomming_header_pos = n; return; } - AutoRef<CompundInMessage> message(new CompundInMessage(_incomming_header.serial, - _incomming_header.type, - _incomming_header.size, - _incomming_header.sub_list)); - n = RedPeer::recive((*message)->data(), (*message)->compund_size()); - if (n != (*message)->compund_size()) { + AutoRef<CompoundInMessage> message(new CompoundInMessage(_incomming_header.serial, + _incomming_header.type, + _incomming_header.size, + _incomming_header.sub_list)); + n = RedPeer::recive((*message)->data(), (*message)->compound_size()); + if (n != (*message)->compound_size()) { _incomming_message = message.release(); _incomming_message_pos = n; return; @@ -626,22 +626,22 @@ void RedChannel::on_event() return; } _incomming_header_pos = 0; - _incomming_message = new CompundInMessage(_incomming_header.serial, - _incomming_header.type, - _incomming_header.size, - _incomming_header.sub_list); + _incomming_message = new CompoundInMessage(_incomming_header.serial, + _incomming_header.type, + _incomming_header.size, + _incomming_header.sub_list); _incomming_message_pos = 0; } if (_incomming_message) { _incomming_message_pos += RedPeer::recive(_incomming_message->data() + _incomming_message_pos, - _incomming_message->compund_size() - + _incomming_message->compound_size() - _incomming_message_pos); - if (_incomming_message_pos != _incomming_message->compund_size()) { + if (_incomming_message_pos != _incomming_message->compound_size()) { return; } - AutoRef<CompundInMessage> message(_incomming_message); + AutoRef<CompoundInMessage> message(_incomming_message); _incomming_message = NULL; on_message_recived(); _message_handler->handle_message(*(*message)); @@ -680,7 +680,7 @@ void RedChannel::handle_migrate(RedPeer::InMessage* message) if (migrate->flags & SPICE_MIGRATE_NEED_FLUSH) { send_migrate_flush_mark(); } - AutoRef<CompundInMessage> data_message; + AutoRef<CompoundInMessage> data_message; if (migrate->flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) { data_message.reset(recive()); } |