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:
f008246
)
- ignore NULL hellos
author
Bart Polot
<bart@net.in.tum.de>
Tue, 4 Feb 2014 18:51:35 +0000
(18:51 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 4 Feb 2014 18:51:35 +0000
(18:51 +0000)
src/mesh/gnunet-service-mesh_peer.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_peer.c
b/src/mesh/gnunet-service-mesh_peer.c
index 569eda84bccce534e62d4b54ae234842bc1472e2..ef5912ba632fb714435ba584d98dccc0fae580bb 100644
(file)
--- a/
src/mesh/gnunet-service-mesh_peer.c
+++ b/
src/mesh/gnunet-service-mesh_peer.c
@@
-1888,6
+1888,9
@@
GMP_set_hello (struct MeshPeer *peer, const struct GNUNET_HELLO_Message *hello)
struct GNUNET_HELLO_Message *old;
size_t size;
+ if (NULL == hello)
+ return;
+
old = GMP_get_hello (peer);
if (NULL == old)
{