diff options
Diffstat (limited to 'client/red_channel.cpp')
-rw-r--r-- | client/red_channel.cpp | 3 |
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); |