Commit 1a24ef3f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

https: missing cast

parent 680ced41
......@@ -115,7 +115,7 @@ static int server_socket(unsigned *port)
socklen_t addrlen = sizeof (addr);
if (bind(fd, (struct sockaddr *)&addr, addrlen)
|| getsockname(fd, &addr, &addrlen))
|| getsockname(fd, (struct sockaddr *)&addr, &addrlen))
return -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment