1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/audio/vat/files/patch-ap
2006-12-04 03:12:19 +00:00

12 lines
337 B
Plaintext

--- net-ip.cc.orig Thu May 16 05:28:06 1996
+++ net-ip.cc Sun Dec 3 19:04:50 2006
@@ -203,7 +203,7 @@
{
memset((char *)p, 0, sizeof(*p));
p->sin_family = AF_INET;
- int len = sizeof(*p);
+ socklen_t len = sizeof(*p);
if (getsockname(ssock_, (struct sockaddr *)p, &len) < 0) {
perror("getsockname");
p->sin_addr.s_addr = 0;