mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
ba4b4f1c28
Found by: bento
12 lines
403 B
Plaintext
12 lines
403 B
Plaintext
--- XeApp.C.orig Fri Oct 22 00:20:19 1999
|
|
+++ XeApp.C Fri Oct 22 18:42:42 1999
|
|
@@ -165,7 +165,7 @@
|
|
#endif
|
|
gLocalIPAddr = 0;
|
|
|
|
- if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
|
|
+ if (getsockname(ConnectionNumber(gDisplay), &saddr, (socklen_t *)&len) != -1)
|
|
if (saddr.sa_family == AF_INET)
|
|
gLocalIPAddr = ntohl(((sockaddr_in*)&saddr)->sin_addr.s_addr);
|
|
|