blob: 7268e372779145c1f73e7f30ceca2382a06d92b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-unix_uxnet.c,v 1.1 2012/02/22 15:27:17 wiz Exp $
--- unix/uxnet.c.orig 2009-08-06 22:55:15.000000000 +0000
+++ unix/uxnet.c
@@ -526,10 +526,10 @@ static int try_connect(Actual_Socket soc
{
int s;
union sockaddr_union u;
- const union sockaddr_union *sa;
+ const union sockaddr_union *sa = NULL;
int err = 0;
short localport;
- int fl, salen, family;
+ int fl, salen = 0, family;
/*
* Remove the socket from the tree before we overwrite its
|