Commit 4e6ad258 authored by Youness Alaoui's avatar Youness Alaoui

initialize the sockaddr correctly.. with this commit, libnice now passes valgrind checks

parent 06554129
...@@ -395,7 +395,7 @@ static void responses (void) ...@@ -395,7 +395,7 @@ static void responses (void)
static void keepalive (void) static void keepalive (void)
{ {
struct sockaddr_storage addr; struct sockaddr_storage addr = {0};
socklen_t addrlen = sizeof (addr); socklen_t addrlen = sizeof (addr);
int val, servfd, fd; int val, servfd, fd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment