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:
04a4b76
)
- fix crash on NULL hello with valid ID
author
Bart Polot
<bart@net.in.tum.de>
Wed, 5 Feb 2014 17:24:28 +0000
(17:24 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 5 Feb 2014 17:24:28 +0000
(17:24 +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 e98300b0ba205172a6aafd0512611782c3962006..971b26bdf761a407c0066ebdc3b9a687ed2edcf6 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_hello.c
+++ b/
src/mesh/gnunet-service-mesh_hello.c
@@
-100,9
+100,9
@@
got_hello (void *cls, const struct GNUNET_PeerIdentity *id,
{
struct MeshPeer *peer;
- if (NULL == id)
+ if (NULL == id
|| NULL == hello
)
{
- LOG (GNUNET_ERROR_TYPE_
ERROR, " hello with NULL id\n"
);
+ LOG (GNUNET_ERROR_TYPE_
DEBUG, " hello with id %p and msg %p\n", id, hello
);
return;
}
LOG (GNUNET_ERROR_TYPE_INFO, " hello for %s (%d bytes), expires on %s\n",