summaryrefslogtreecommitdiffstats
path: root/client/red_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/red_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/red_channel.cpp')
-rw-r--r--client/red_channel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/red_channel.cpp b/client/red_channel.cpp
index c4c719a3..6e6190f6 100644
--- a/client/red_channel.cpp
+++ b/client/red_channel.cpp
@@ -273,9 +273,9 @@ void* RedChannel::worker_main(void *data)
Platform::set_thread_priority(NULL, channel->get_worker_priority());
channel->run();
} catch (Exception& e) {
- LOG_ERROR("unhandle exception: %s", e.what());
+ LOG_ERROR("unhandled exception: %s", e.what());
} catch (std::exception& e) {
- LOG_ERROR("unhandle exception: %s", e.what());
+ LOG_ERROR("unhandled exception: %s", e.what());
} catch (...) {
LOG_ERROR("unhandled exception");
}
@@ -676,12 +676,12 @@ void RedChannel::handle_notify(RedPeer::InMessage* message)
if (notify->severty > SPICE_NOTIFY_SEVERITY_ERROR) {
- THROW("bad sevirity");
+ THROW("bad severity");
}
sevirity = sevirity_strings[notify->severty];
if (notify->visibilty > SPICE_NOTIFY_VISIBILITY_HIGH) {
- THROW("bad visibilty");
+ THROW("bad visibility");
}
visibility = visibility_strings[notify->visibilty];