summaryrefslogtreecommitdiffstats
path: root/client/red_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/red_channel.h')
-rw-r--r--client/red_channel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/red_channel.h b/client/red_channel.h
index ee5b1851..8128626f 100644
--- a/client/red_channel.h
+++ b/client/red_channel.h
@@ -296,13 +296,13 @@ void MessageHandlerImp<HandlerClass, channel_id>::handle_message(RedPeer::Compou
message_destructor_t parsed_free;
if (_parser == NULL) {
- /* We need to do this lazily rather than at constuction because we
- don't know the major until we've connected */
- if (_obj.get_peer_major() == 1) {
- _parser = spice_get_server_channel_parser1(channel_id, NULL);
- } else {
- _parser = spice_get_server_channel_parser(channel_id, NULL);
- }
+ /* We need to do this lazily rather than at constuction because we
+ don't know the major until we've connected */
+ if (_obj.get_peer_major() == 1) {
+ _parser = spice_get_server_channel_parser1(channel_id, NULL);
+ } else {
+ _parser = spice_get_server_channel_parser(channel_id, NULL);
+ }
}
if (message.sub_list()) {