aboutsummaryrefslogtreecommitdiff
path: root/p2p
diff options
context:
space:
mode:
authorDavid Sanders <dsanders11@ucsbalum.com>2022-03-19 01:43:10 -0700
committerWebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-21 06:30:32 +0000
commit60c588d77e4ef4bf42786636b1fce2bee1cc6ac9 (patch)
treec5d884ef80f516418a048b8e4b9ac4689d8a5ccc /p2p
parent9d52093ff9b4b1107dbf7b158391bfd0fd8f3fe5 (diff)
downloadwebrtc-60c588d77e4ef4bf42786636b1fce2bee1cc6ac9.tar.gz
Fixed typos, candiate -> candidate
Bug: None Change-Id: I2dee549aa79f1eb6bddd58cfc6c9f67eb6ba3663 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256147 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36273}
Diffstat (limited to 'p2p')
-rw-r--r--p2p/base/p2p_transport_channel_unittest.cc8
-rw-r--r--p2p/base/port_unittest.cc2
-rw-r--r--p2p/base/turn_port.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/p2p/base/p2p_transport_channel_unittest.cc b/p2p/base/p2p_transport_channel_unittest.cc
index 2685d59751..c69530b0ef 100644
--- a/p2p/base/p2p_transport_channel_unittest.cc
+++ b/p2p/base/p2p_transport_channel_unittest.cc
@@ -6307,11 +6307,11 @@ TEST_P(GatherAfterConnectedTest, GatherAfterConnected) {
clock.AdvanceTime(webrtc::TimeDelta::Millis(10 * delay));
if (stop_gather_on_strongly_connected) {
- // The relay candiates gathered has not been propagated to channel.
+ // The relay candidates gathered has not been propagated to channel.
EXPECT_EQ(ep1->saved_candidates_.size(), 0u);
EXPECT_EQ(ep2->saved_candidates_.size(), 0u);
} else {
- // The relay candiates gathered has been propagated to channel.
+ // The relay candidates gathered has been propagated to channel.
EXPECT_EQ(ep1->saved_candidates_.size(), 1u);
EXPECT_EQ(ep2->saved_candidates_.size(), 1u);
}
@@ -6369,11 +6369,11 @@ TEST_P(GatherAfterConnectedTest, GatherAfterConnectedMultiHomed) {
clock.AdvanceTime(webrtc::TimeDelta::Millis(10 * delay));
if (stop_gather_on_strongly_connected) {
- // The relay candiates gathered has not been propagated to channel.
+ // The relay candidates gathered has not been propagated to channel.
EXPECT_EQ(ep1->saved_candidates_.size(), 0u);
EXPECT_EQ(ep2->saved_candidates_.size(), 0u);
} else {
- // The relay candiates gathered has been propagated.
+ // The relay candidates gathered has been propagated.
EXPECT_EQ(ep1->saved_candidates_.size(), 2u);
EXPECT_EQ(ep2->saved_candidates_.size(), 1u);
}
diff --git a/p2p/base/port_unittest.cc b/p2p/base/port_unittest.cc
index 23b11a7a3d..1197c44ab6 100644
--- a/p2p/base/port_unittest.cc
+++ b/p2p/base/port_unittest.cc
@@ -2626,7 +2626,7 @@ TEST_F(PortTest, TestCandidateFoundation) {
}
// This test verifies the related addresses of different types of
-// ICE candiates.
+// ICE candidates.
TEST_F(PortTest, TestCandidateRelatedAddress) {
auto nat_server = CreateNatServer(kNatAddr1, NAT_OPEN_CONE);
auto udpport = CreateUdpPort(kLocalAddr1);
diff --git a/p2p/base/turn_port.cc b/p2p/base/turn_port.cc
index 9b09ae8360..45fe212c65 100644
--- a/p2p/base/turn_port.cc
+++ b/p2p/base/turn_port.cc
@@ -560,7 +560,7 @@ Connection* TurnPort::CreateConnection(const Candidate& remote_candidate,
return nullptr;
}
- // A TURN port will have two candiates, STUN and TURN. STUN may not
+ // A TURN port will have two candidates, STUN and TURN. STUN may not
// present in all cases. If present stun candidate will be added first
// and TURN candidate later.
for (size_t index = 0; index < Candidates().size(); ++index) {