diff options
| author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-11-04 12:18:32 +0100 |
|---|---|---|
| committer | Frediano Ziglio <fziglio@redhat.com> | 2015-11-04 11:20:48 +0000 |
| commit | 3cc2513d33c19875711c651a18eb5ae4bdb7fa96 (patch) | |
| tree | a4d295c6505b2e8544ee079111a3903435555e34 /client/glz_decoder_window.cpp | |
| parent | cf3ca136e609421f182606d8e7eaaebe139d1d24 (diff) | |
cursor: fix wrong logic when initializing the channel
It's a regression introduced by commit e601e920bd5. The logic error was
introduced when trying to achieve the following code[0]. but rewritten
to prefer an early return, which was wrogly negated.
[0]:
if (cursor_is_connected(worker)
&& !COMMON_CHANNEL(worker->cursor_channel)->during_target_migrate) {
red_channel_pipes_add_type(RED_CHANNEL(worker->cursor_channel),
PIPE_ITEM_TYPE_CURSOR_INIT);
}
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'client/glz_decoder_window.cpp')
0 files changed, 0 insertions, 0 deletions
