mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
3701674180
Noticed by: bento via kris
12 lines
400 B
C++
12 lines
400 B
C++
--- 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");
|