diff options
Diffstat (limited to 'net/libsocketcpp/files/patch-src__tcpsocket.cpp')
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpsocket.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/libsocketcpp/files/patch-src__tcpsocket.cpp b/net/libsocketcpp/files/patch-src__tcpsocket.cpp new file mode 100644 index 000000000000..28b819805d55 --- /dev/null +++ b/net/libsocketcpp/files/patch-src__tcpsocket.cpp @@ -0,0 +1,11 @@ +--- src/tcpsocket.cpp.orig Fri Jul 11 15:00:44 2003 ++++ src/tcpsocket.cpp Fri Jul 11 15:00:56 2003 +@@ -212,7 +212,7 @@ + } + + bool TCPSocket::Accept() { +- size_t sin_size = sizeof(struct sockaddr_in); ++ socklen_t sin_size = sizeof(struct sockaddr_in); + //sockaddr_in RemoteAddress; + if((newfd = accept(sockfd, (struct sockaddr *)&RemoteAddress, &sin_size)) == -1) { + perror("accept"); |