From 42731bdded823f29ce0984fb98905f9422bffc65 Mon Sep 17 00:00:00 2001 From: "jiayl@webrtc.org" Date: Thu, 18 Sep 2014 16:51:51 +0000 Subject: [PATCH] Avoid writing a double/float to a string to avoid a crash. BUG=crbug/367223 R=juberti@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30459004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7225 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/p2p/base/port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talk/p2p/base/port.cc b/talk/p2p/base/port.cc index 38201542c..0cf46eb39 100644 --- a/talk/p2p/base/port.cc +++ b/talk/p2p/base/port.cc @@ -1212,7 +1212,7 @@ std::string Connection::ToString() const { << ":" << local.type() << ":" << local.protocol() << ":" << local.address().ToSensitiveString() << "->" << remote.id() << ":" << remote.component() - << ":" << remote.preference() + << ":" << remote.priority() << ":" << remote.type() << ":" << remote.protocol() << ":" << remote.address().ToSensitiveString() << "|" << CONNECT_STATE_ABBREV[connected()]