From 3ba7a57f8fffb0a8225090d3c4fd391b29c836fb Mon Sep 17 00:00:00 2001 From: Taylor Brandstetter Date: Fri, 2 Mar 2018 10:58:25 -0800 Subject: [PATCH] Fixing typo in log messages. "Rather then" instead of "rather than." TBR=zhihuang@webrtc.org NOTRY=True Bug: None Change-Id: Iaeb2d5d1f2ad539fbbc1a41c95c478b302cb3f9a Reviewed-on: https://webrtc-review.googlesource.com/59426 Commit-Queue: Taylor Brandstetter Reviewed-by: Taylor Brandstetter Cr-Commit-Position: refs/heads/master@{#22274} --- p2p/base/tcpport.cc | 6 +++--- p2p/base/turnport.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/p2p/base/tcpport.cc b/p2p/base/tcpport.cc index f6caf3e8c5..4c1a8e4235 100644 --- a/p2p/base/tcpport.cc +++ b/p2p/base/tcpport.cc @@ -433,21 +433,21 @@ void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) { if (socket->GetLocalAddress().IsLoopbackIP()) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString() << ". Still allowing it since it's localhost."; } else if (IPIsAny(port_->Network()->GetBestIP())) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString() << ". Still allowing it since it's the 'any' address" << ", possibly caused by multiple_routes being disabled."; } else { RTC_LOG(LS_WARNING) << "Dropping connection as TCP socket bound to IP " << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << port_->Network()->ToString(); OnClose(socket, 0); return; diff --git a/p2p/base/turnport.cc b/p2p/base/turnport.cc index 334410ed11..ab23318a0f 100644 --- a/p2p/base/turnport.cc +++ b/p2p/base/turnport.cc @@ -441,21 +441,21 @@ void TurnPort::OnSocketConnect(rtc::AsyncPacketSocket* socket) { if (socket->GetLocalAddress().IsLoopbackIP()) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Still allowing it since it's localhost."; } else if (IPIsAny(Network()->GetBestIP())) { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Still allowing it since it's the 'any' address" << ", possibly caused by multiple_routes being disabled."; } else { RTC_LOG(LS_WARNING) << "Socket is bound to the address:" << socket_address.ipaddr().ToString() - << ", rather then an address associated with network:" + << ", rather than an address associated with network:" << Network()->ToString() << ". Discarding TURN port."; OnAllocateError(); return;