Usermode/libpsocket - Fixed accept()'s prototype
[tpg/acess2.git] / Usermode / Libraries / libpsocket.so_src / socket.c
index 586176d..747ebe4 100644 (file)
@@ -268,7 +268,7 @@ void _CommitClient(int sockfd)
        _ClearInfo(si);
 }
 
-int accept(int sockfd, struct sockaddr *clientaddr, socklen_t addrlen)
+int accept(int sockfd, struct sockaddr *clientaddr, socklen_t *addrlen)
 {
        _CommitServer(sockfd);
         int    child;

UCC git Repository :: git.ucc.asn.au