summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/TcpDxe/SockInterface.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:00 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit4cefb5e9032f089f4d572684cd7e230f5f5ab414 (patch)
treeea85edad752837ee681ed6a70e2f73d456348eb0 /NetworkPkg/TcpDxe/SockInterface.c
parentbb3594e84283abefe7350b275dcfdc102efef177 (diff)
downloadedk2-4cefb5e9032f089f4d572684cd7e230f5f5ab414.tar.gz
edk2-4cefb5e9032f089f4d572684cd7e230f5f5ab414.tar.bz2
edk2-4cefb5e9032f089f4d572684cd7e230f5f5ab414.zip
NetworkPkg/TcpDxe/Sock: Fix few typos
Fix few typos in comments and documentation. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-48-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/TcpDxe/SockInterface.c')
-rw-r--r--NetworkPkg/TcpDxe/SockInterface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockInterface.c
index ed0a031d39..6217eb52da 100644
--- a/NetworkPkg/TcpDxe/SockInterface.c
+++ b/NetworkPkg/TcpDxe/SockInterface.c
@@ -255,12 +255,12 @@ SockDestroyChild (
/**
Create a socket and its associated protocol control block
- with the intial data SockInitData and protocol specific
+ with the initial data SockInitData and protocol specific
data ProtoData.
- @param[in] SockInitData Inital data to setting the socket.
+ @param[in] SockInitData Initial data to setting the socket.
- @return Pointer to the newly created socket. If NULL, an error condition occured.
+ @return Pointer to the newly created socket. If NULL, an error condition occurred.
**/
SOCKET *
@@ -397,7 +397,7 @@ OnExit:
/**
Initiate a connection establishment process.
- @param[in] Sock Pointer to the socket to initiate the initate the
+ @param[in] Sock Pointer to the socket to initiate the
connection.
@param[in] Token Pointer to the token used for the connection
operation.
@@ -474,7 +474,7 @@ OnExit:
@param[in] Sock Pointer to the socket to accept connections.
@param[in] Token The token to accept a connection.
- @retval EFI_SUCCESS Either a connection is accpeted or the Token is
+ @retval EFI_SUCCESS Either a connection is accepted or the Token is
buffered for further acception.
@retval EFI_ACCESS_DENIED Failed to get the lock to access the socket, or the
socket is closed, or the socket is not configured to