| Index: jingle/notifier/communicator/single_login_attempt.cc
|
| diff --git a/jingle/notifier/communicator/single_login_attempt.cc b/jingle/notifier/communicator/single_login_attempt.cc
|
| index a7309ba2542d70388affb46c36aa3fb82c025b79..04c074fbd591d427931b5911957a6bbabed740a4 100644
|
| --- a/jingle/notifier/communicator/single_login_attempt.cc
|
| +++ b/jingle/notifier/communicator/single_login_attempt.cc
|
| @@ -57,8 +57,8 @@ namespace {
|
| // unparseable, it assumes the default XMPP port. The hostname may be
|
| // empty.
|
| net::HostPortPair ParseRedirectText(const std::string& redirect_text) {
|
| - std::vector<std::string> parts;
|
| - base::SplitString(redirect_text, ':', &parts);
|
| + std::vector<std::string> parts = base::SplitString(
|
| + redirect_text, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| net::HostPortPair redirect_server;
|
| redirect_server.set_port(kDefaultXmppPort);
|
| if (parts.empty()) {
|
|
|