projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08bda44
)
- fix dead code covertiy 12876
author
Bart Polot
<bart@net.in.tum.de>
Mon, 7 Apr 2014 14:26:16 +0000
(14:26 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 7 Apr 2014 14:26:16 +0000
(14:26 +0000)
src/mesh/gnunet-service-mesh_hello.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_hello.c
b/src/mesh/gnunet-service-mesh_hello.c
index 723989bf8b473bd55e576c7e8b926eba4b1bb7d2..599cc37318e23bba1fb36ccf2b3e6b10563eecd6 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_hello.c
+++ b/
src/mesh/gnunet-service-mesh_hello.c
@@
-106,13
+106,8
@@
got_hello (void *cls, const struct GNUNET_PeerIdentity *id,
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);