summaryrefslogtreecommitdiff
path: root/mbone/vat/patches/patch-an
blob: 1edab760416dddfa47357b8e8f9741006984634b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-an,v 1.1 2002/08/16 16:25:15 agc Exp $

--- net-ip.cc	2002/08/16 16:18:16	1.1
+++ net-ip.cc	2002/08/16 16:18:38
@@ -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;