From Kyle Ambroff-Kao <kyle@xxxxxxxxxxxxxx>:
Kyle Ambroff-Kao has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/2176 ;)
Change subject: Fix comment.
......................................................................
Fix comment.
---
M src/add-ons/kernel/network/protocols/tcp/EndpointManager.cpp
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/76/2176/1
diff --git a/src/add-ons/kernel/network/protocols/tcp/EndpointManager.cpp
b/src/add-ons/kernel/network/protocols/tcp/EndpointManager.cpp
index eaec1a3..ea71173 100644
--- a/src/add-ons/kernel/network/protocols/tcp/EndpointManager.cpp
+++ b/src/add-ons/kernel/network/protocols/tcp/EndpointManager.cpp
@@ -272,8 +272,8 @@
local.SetPort(port);
}
- // We want to connect create a connection for (local, peer), so check to
- // make sure that this is not already in use.
+ // We want to create a connection for (local, peer), so check to make
sure
+ // that this pair is not already in use by an existing connection.
if (_LookupConnection(*local, peer) != NULL)
return EADDRINUSE;
--
To view, visit https://review.haiku-os.org/c/haiku/+/2176
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I171aba23ed54c1a076d149a6c879fa281105dae1
Gerrit-Change-Number: 2176
Gerrit-PatchSet: 1
Gerrit-Owner: Kyle Ambroff-Kao <kyle@xxxxxxxxxxxxxx>
Gerrit-MessageType: newchange