summaryrefslogtreecommitdiff
path: root/ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c')
-rw-r--r--ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c b/ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c
index 9e6bd10c..c649d627 100644
--- a/ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c
+++ b/ics-openvpn-stripped/main/openvpn/src/openvpn/socket.c
@@ -2354,12 +2354,12 @@ print_sockaddr_ex (const struct sockaddr *sa,
struct gc_arena *gc)
{
struct buffer out = alloc_buf_gc (128, gc);
- bool addr_is_defined;
+ bool addr_is_defined = false;
char hostaddr[NI_MAXHOST] = "";
char servname[NI_MAXSERV] = "";
int status;
- socklen_t salen;
+ socklen_t salen = 0;
switch(sa->sa_family)
{
case AF_INET: