summaryrefslogtreecommitdiffstats
path: root/client/tunnel_channel.cpp
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:03 +0200
committerAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:28 +0200
commit012bd2577975b902aa5ce0cdd0eb43ef57c948fb (patch)
tree1dc3de75ad4c173d2de3f60cb0c9d78bf4517542 /client/tunnel_channel.cpp
parentd351bb35ce981d39e839528f4a23bc5b501adab8 (diff)
downloadspice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.gz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.xz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.zip
Fix spelling errors in comments and strings
Diffstat (limited to 'client/tunnel_channel.cpp')
-rw-r--r--client/tunnel_channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/tunnel_channel.cpp b/client/tunnel_channel.cpp
index 52235501..1b7d7cb4 100644
--- a/client/tunnel_channel.cpp
+++ b/client/tunnel_channel.cpp
@@ -409,7 +409,7 @@ void TunnelChannel::handle_socket_close(RedPeer::InMessage* message)
if (sckt->is_connected()) {
sckt->push_disconnect();
} else {
- // close happend in the server side before it received the client
+ // close happened in the server side before it received the client
// close msg. we should ack the server and free the socket
on_socket_disconnect(*sckt);
}
@@ -502,7 +502,7 @@ void TunnelChannel::on_socket_disconnect(ClientNetSocket& sckt)
{
TunnelChannel::TunnelSocket* tunnel_sckt = static_cast<TunnelChannel::TunnelSocket*>(&sckt);
Message* out_msg;
- // close intiated by server -> needs ack
+ // close initiated by server -> needs ack
if (tunnel_sckt->get_guest_closed()) {
DBG(0, "send close ack connection_id=%d", tunnel_sckt->id());
out_msg = new Message(SPICE_MSGC_TUNNEL_SOCKET_CLOSED_ACK, sizeof(SpiceMsgcTunnelSocketClosedAck));