gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18767 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r18767 - gnunet/src/ats
Date: Fri, 23 Dec 2011 16:04:57 +0100

Author: grothoff
Date: 2011-12-23 16:04:57 +0100 (Fri, 23 Dec 2011)
New Revision: 18767

Modified:
   gnunet/src/ats/ats_api_scheduling.c
Log:
-fix uninitialized scope ID

Modified: gnunet/src/ats/ats_api_scheduling.c
===================================================================
--- gnunet/src/ats/ats_api_scheduling.c 2011-12-23 14:16:08 UTC (rev 18766)
+++ gnunet/src/ats/ats_api_scheduling.c 2011-12-23 15:04:57 UTC (rev 18767)
@@ -702,8 +702,8 @@
     net->netmask = (struct sockaddr *) &tmp[1];
     net->length = addrlen;
 
+    memset (&network6, 0, sizeof (network6));
     network6.sin6_family = AF_INET6;
-    network6.sin6_port = htons (0);
 #if HAVE_SOCKADDR_IN_SIN_LEN
     network6.sin6_len = sizeof (network6);
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]