mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
--- XeApp.C.orig Tue Nov 23 00:36:49 1999
|
|
+++ XeApp.C Mon Jan 3 18:25:45 2000
|
|
@@ -169,7 +174,7 @@
|
|
|
|
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);
|
|
|