diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-11 13:10:26 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-07-11 13:10:26 +0000 |
commit | 3701674180d1ebc0bb809da3896b16eb746e48d1 (patch) | |
tree | 9ce675cc3bb9e14b8ecade547a84d04e375cfbd3 /net/libsocketcpp | |
parent | f7924d5f28b055f9d0caa0ddf92729aeee80f355 (diff) | |
download | ports-3701674180d1ebc0bb809da3896b16eb746e48d1.tar.gz ports-3701674180d1ebc0bb809da3896b16eb746e48d1.zip |
Notes
Diffstat (limited to 'net/libsocketcpp')
-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"); |