Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index a7132ecc2179a7bf95a79e10798d57e2bf76a08a..368ea40df6b4a368fead62f1e0f76704ef063b75 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -89,11 +89,14 @@ const char kVideoSwitchValueVp8Rtp[] = "vp8rtp"; |
// Glue class to print out the access code for Me2Mom. |
void SetMe2MomAccessCode(remoting::SupportAccessVerifier* access_verifier, |
bool successful, const std::string& support_id) { |
+ access_verifier->OnMe2MomHostRegistered(successful, support_id); |
awong
2011/06/08 18:34:45
Why did we move this higher up?
Jamie
2011/06/08 18:37:43
Because the error message is printed out by the ac
|
if (successful) { |
std::cout << "Support id: " << support_id << "-" |
<< access_verifier->host_secret() << std::endl; |
+ } else { |
+ LOG(ERROR) << "If you haven't done so recently, try running" |
+ << " remoting/tools/register_host.py."; |
} |
- access_verifier->OnMe2MomHostRegistered(successful, support_id); |
} |
class SimpleHost { |