| Index: remoting/host/register_support_host_request.cc
|
| diff --git a/remoting/host/register_support_host_request.cc b/remoting/host/register_support_host_request.cc
|
| index ef25c4a965d2cb34ceae514cdfb328554053b5ea..786c3119829c84bdbc42194cc281535e523cef67 100644
|
| --- a/remoting/host/register_support_host_request.cc
|
| +++ b/remoting/host/register_support_host_request.cc
|
| @@ -167,7 +167,7 @@ void RegisterSupportHostRequest::ParseResponse(const XmlElement* response,
|
| }
|
|
|
| int lifetime_int;
|
| - if (!base::StringToInt(lifetime_element->BodyText().c_str(), &lifetime_int) ||
|
| + if (!base::StringToInt(lifetime_element->BodyText(), &lifetime_int) ||
|
| lifetime_int <= 0) {
|
| error << "<" << kSupportIdLifetimeTag
|
| << "> is malformed in the host registration response: "
|
|
|