mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-06 03:08:46 -04:00
18 lines
500 B
C
18 lines
500 B
C
$NetBSD: patch-unix_uxnet.c,v 1.1.14.1 2013/08/21 19:40:13 tron Exp $
|
|
|
|
--- unix/uxnet.c.orig 2013-07-27 18:35:48.000000000 +0000
|
|
+++ unix/uxnet.c
|
|
@@ -534,10 +534,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 salen, family;
|
|
+ int salen = 0, family;
|
|
|
|
/*
|
|
* Remove the socket from the tree before we overwrite its
|