[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17712 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17712 - gnunet/src/transport |
Date: |
Mon, 24 Oct 2011 13:28:28 +0200 |
Author: grothoff
Date: 2011-10-24 13:28:27 +0200 (Mon, 24 Oct 2011)
New Revision: 17712
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
asserts for cov
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2011-10-24 11:25:03 UTC (rev
17711)
+++ gnunet/src/transport/plugin_transport_tcp.c 2011-10-24 11:28:27 UTC (rev
17712)
@@ -1002,6 +1002,7 @@
{
if (addrlen == sizeof (struct IPv6TcpAddress))
{
+ GNUNET_assert (NULL != addr); /* make static analysis happy */
t6 = addr;
af = AF_INET6;
memset (&a6, 0, sizeof (a6));
@@ -1018,6 +1019,7 @@
}
else if (addrlen == sizeof (struct IPv4TcpAddress))
{
+ GNUNET_assert (NULL != addr); /* make static analysis happy */
t4 = addr;
af = AF_INET;
memset (&a4, 0, sizeof (a4));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17712 - gnunet/src/transport,
gnunet <=