diff options
author | jiayl@webrtc.org <jiayl@webrtc.org> | 2014-09-18 16:51:51 +0000 |
---|---|---|
committer | jiayl@webrtc.org <jiayl@webrtc.org> | 2014-09-18 16:51:51 +0000 |
commit | dcbe13b3e63f3d60453c76a8e7e9a54d7e68073a (patch) | |
tree | d9c9f74e345dd0545cf7f95e2313fc1dbcf57134 | |
parent | 8f804c79226e998286f4c9e8f5f8ce3918c29654 (diff) | |
download | talk-dcbe13b3e63f3d60453c76a8e7e9a54d7e68073a.tar.gz |
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/talk@7225 4adac7df-926f-26a2-2b94-8c16560cd09d
-rw-r--r-- | p2p/base/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/base/port.cc b/p2p/base/port.cc index 3820154..0cf46eb 100644 --- a/p2p/base/port.cc +++ b/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()] |