summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/me2me_host_authenticator_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/me2me_host_authenticator_factory.cc')
-rw-r--r--remoting/protocol/me2me_host_authenticator_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index 7e407c8..30c6419 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -141,7 +141,7 @@ scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator(
// Verify that the client's jid is an ASCII string, and then check that the
// client JID has the expected prefix. Comparison is case insensitive.
- if (!IsStringASCII(remote_jid) ||
+ if (!base::IsStringASCII(remote_jid) ||
!StartsWithASCII(remote_jid, remote_jid_prefix + '/', false)) {
LOG(ERROR) << "Rejecting incoming connection from " << remote_jid;
return scoped_ptr<Authenticator>(new RejectingAuthenticator());