Commit 359c458f authored by Mike Gabriel's avatar Mike Gabriel

update last committed patch, fix EOL style

parent ecd6d4e8
diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp
index c9617c3..955be85 100644
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -6854,9 +6854,9 @@ int WaitForRemote(int portNum)
{
sockaddr_in newAddr;
- size_t addrLen = sizeof(sockaddr_in);
+ socklen_t addrLen = sizeof(sockaddr_in);
- newFD = accept(proxyFD, (sockaddr *) &newAddr, (socklen_t *) &addrLen);
+ newFD = accept(proxyFD, (sockaddr *) &newAddr, &addrLen);
if (newFD == -1)
{
--- a/nxcomp/Loop.cpp
+++ b/nxcomp/Loop.cpp
@@ -6832,9 +6832,9 @@
{
sockaddr_in newAddr;
- size_t addrLen = sizeof(sockaddr_in);
+ socklen_t addrLen = sizeof(sockaddr_in);
- newFD = accept(proxyFD, (sockaddr *) &newAddr, (socklen_t *) &addrLen);
+ newFD = accept(proxyFD, (sockaddr *) &newAddr, &addrLen);
if (newFD == -1)
{
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment