diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-06-15 07:15:37 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-06-15 07:15:37 +0000 |
commit | 8f79f0a40f152ac5cd9b01e63fcfd0663a11c5ed (patch) | |
tree | f52af83cb094efa0beee35922fdd054e847d7669 /src/mesh | |
parent | 698f90835bc53dcce4b4c7131fcafb144edc7ff9 (diff) | |
download | gnunet-8f79f0a40f152ac5cd9b01e63fcfd0663a11c5ed.tar.gz gnunet-8f79f0a40f152ac5cd9b01e63fcfd0663a11c5ed.zip |
fix bug (invariant)
;
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/mesh_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 72428790e..971f491d2 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -166,6 +166,7 @@ core_startup (void *cls, | |||
166 | static size_t | 166 | static size_t |
167 | send_hello_message (void *cls, size_t size, void *buf) | 167 | send_hello_message (void *cls, size_t size, void *buf) |
168 | { | 168 | { |
169 | if (cls == NULL) return 0; | ||
169 | struct GNUNET_MESH_Handle *handle = cls; | 170 | struct GNUNET_MESH_Handle *handle = cls; |
170 | struct GNUNET_MessageHeader *hdr = buf; | 171 | struct GNUNET_MessageHeader *hdr = buf; |
171 | 172 | ||