Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index 293ad27c56d570129df73b4b0fe9dd943730eb92..c19a73c0dae0a3ca67a34dffa61e18b65a3988ac 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -223,7 +223,7 @@ class SimpleHost { |
std::cout << "Support id: " << access_code << std::endl; |
// Tell the ChromotingHost the access code, to use as shared-secret. |
- host_->set_access_code(access_code); |
+ host_->SetSharedSecret(access_code); |
} else { |
LOG(ERROR) << "If you haven't done so recently, try running" |
<< " remoting/tools/register_host.py."; |