[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32926 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32926 - gnunet/src/mesh |
Date: |
Mon, 7 Apr 2014 16:26:16 +0200 |
Author: bartpolot
Date: 2014-04-07 16:26:16 +0200 (Mon, 07 Apr 2014)
New Revision: 32926
Modified:
gnunet/src/mesh/gnunet-service-mesh_hello.c
Log:
- fix dead code covertiy 12876
Modified: gnunet/src/mesh/gnunet-service-mesh_hello.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_hello.c 2014-04-07 14:23:16 UTC (rev
32925)
+++ gnunet/src/mesh/gnunet-service-mesh_hello.c 2014-04-07 14:26:16 UTC (rev
32926)
@@ -106,13 +106,8 @@
return;
}
LOG (GNUNET_ERROR_TYPE_DEBUG, " hello for %s (%d bytes), expires on %s\n",
- GNUNET_i2s (id), NULL != hello ? GNUNET_HELLO_size (hello) : -1,
+ GNUNET_i2s (id), GNUNET_HELLO_size (hello),
GNUNET_STRINGS_absolute_time_to_string
(GNUNET_HELLO_get_last_expiration(hello)));
- if (NULL == hello)
- {
- LOG (GNUNET_ERROR_TYPE_DEBUG, " hello is NULL\n");
- return;
- }
peer = GMP_get (id);
GMP_set_hello (peer, hello);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32926 - gnunet/src/mesh,
gnunet <=