summaryrefslogtreecommitdiffstats
path: root/server/red_worker.c
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2013-07-10 00:21:40 +0300
committerUri Lublin <uril@redhat.com>2013-07-16 23:37:29 +0300
commitd6092f11b69e84e5d088b9feabb972fad705b4f4 (patch)
tree4b52cc81d2d1ec2ac598abb4bff7059cd174225f /server/red_worker.c
parentd45f3bdc6b4624afca1e2d5ecf7badbfb147363c (diff)
downloadspice-d6092f11b69e84e5d088b9feabb972fad705b4f4.tar.gz
spice-d6092f11b69e84e5d088b9feabb972fad705b4f4.tar.xz
spice-d6092f11b69e84e5d088b9feabb972fad705b4f4.zip
syntax-check: remove trailing whitespaces
Only whitespace changes in this commit.
Diffstat (limited to 'server/red_worker.c')
-rw-r--r--server/red_worker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 597008e6..73fe866c 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -11033,7 +11033,7 @@ static void red_wait_all_sent(RedChannel *channel)
end_time = red_now() + DETACH_TIMEOUT;
red_channel_push(channel);
- while (((max_pipe_size = red_channel_max_pipe_size(channel)) ||
+ while (((max_pipe_size = red_channel_max_pipe_size(channel)) ||
(blocked = red_channel_any_blocked(channel))) &&
red_now() < end_time) {
spice_debug("pipe-size %u blocked %d", max_pipe_size, blocked);
@@ -11047,7 +11047,7 @@ static void red_wait_all_sent(RedChannel *channel)
spice_printerr("timeout: pending out messages exist (pipe-size %u, blocked %d)",
max_pipe_size, blocked);
red_channel_apply_clients(channel, rcc_shutdown_if_pending_send);
- } else {
+ } else {
spice_assert(red_channel_no_item_being_sent(channel));
}
}
@@ -11534,7 +11534,7 @@ void handle_dev_stop(void *opaque, void *payload)
red_display_clear_glz_drawables(worker->display_channel);
flush_all_surfaces(worker);
/* todo: when the waiting is expected to take long (slow connection and
- * overloaded pipe), don't wait, and in case of migration,
+ * overloaded pipe), don't wait, and in case of migration,
* purge the pipe, send destroy_all_surfaces
* to the client (there is no such message right now), and start
* from scratch on the destination side */