diff options
| author | Alexander Larsson <alexl@redhat.com> | 2010-07-08 19:35:48 +0200 |
|---|---|---|
| committer | Alexander Larsson <alexl@redhat.com> | 2010-07-08 22:25:28 +0200 |
| commit | 633e962ac35f0cb0281bba4b22b88ff78cd76d80 (patch) | |
| tree | b84ea2c450a9bb7d83593afdbd9e61d1dc5ee4c7 /client/application.cpp | |
| parent | ceff16cad6a9191d634b83b2914096e7564924e7 (diff) | |
Make tunnel support optional in client too
Diffstat (limited to 'client/application.cpp')
| -rw-r--r-- | client/application.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/application.cpp b/client/application.cpp index 72db03f2..af37ae02 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -40,7 +40,9 @@ #include "quic.h" #include "mutex.h" #include "cmd_line_parser.h" +#ifdef USE_TUNNEL #include "tunnel_channel.h" +#endif #include "rect.h" #ifdef USE_GUI #include "gui/gui.h" @@ -1922,9 +1924,11 @@ void Application::register_channels() _client.register_channel_factory(RecordChannel::Factory()); } +#ifdef USE_TUNNEL if (_enabled_channels[SPICE_CHANNEL_TUNNEL]) { _client.register_channel_factory(TunnelChannel::Factory()); } +#endif } bool Application::process_cmd_line(int argc, char** argv) |
