mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Change accept type to struct sockaddr * (#630)
This commit is contained in:
parent
8c2bf341e9
commit
87708c5d6e
7 changed files with 12 additions and 10 deletions
|
@ -167,7 +167,7 @@ void *Worker(void *id) {
|
|||
|
||||
// wait for client connection
|
||||
clientaddrsize = sizeof(clientaddr);
|
||||
client = accept(server, &clientaddr, &clientaddrsize);
|
||||
client = accept(server, (struct sockaddr *)&clientaddr, &clientaddrsize);
|
||||
|
||||
// accept() can raise a very diverse number of errors but none of
|
||||
// them are really true showstoppers that would necessitate us to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue