summaryrefslogtreecommitdiffstats
path: root/client/red_channel.cpp
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-12-28 01:15:08 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-12-28 12:38:58 +0200
commit68fb44012982897ea883b336c56d0e8c12ddce0d (patch)
tree209556db04762b5f5f7581af4f51970f04e8d836 /client/red_channel.cpp
parent659be313a43fc741ed9decd95178efbeedf2c4fd (diff)
downloadspice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.gz
spice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.xz
spice-68fb44012982897ea883b336c56d0e8c12ddce0d.zip
client: add GUI infrastructure + functional login dialog
Diffstat (limited to 'client/red_channel.cpp')
-rw-r--r--client/red_channel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/red_channel.cpp b/client/red_channel.cpp
index cfd47057..c7dce015 100644
--- a/client/red_channel.cpp
+++ b/client/red_channel.cpp
@@ -401,7 +401,8 @@ void RedChannel::run()
_client.get_port(),
_client.get_sport());
RedChannelBase::connect(con_options, _client.get_connection_id(),
- _client.get_host(), _client.get_password());
+ _client.get_host().c_str(),
+ _client.get_password().c_str());
on_connect();
set_state(CONNECTED_STATE);
_loop.add_socket(*this);