diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-04-10 21:36:26 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-04-10 21:36:26 +0000 |
commit | bf0c66911e342bc9ee6305fa8e039221041b27be (patch) | |
tree | 4d5e8fb47d6fda90c17a6ca52621d932b6d0ffd7 /src/vpn | |
parent | 0ed04623d2fff96b2093052330c8c92f1367ee7a (diff) | |
download | gnunet-bf0c66911e342bc9ee6305fa8e039221041b27be.tar.gz gnunet-bf0c66911e342bc9ee6305fa8e039221041b27be.zip |
make the mock mesh perhaps not working, but not crashing either
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index ba1242d05..e835fbcfa 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c | |||
@@ -171,6 +171,10 @@ send_pkt_to_peer (void *cls, | |||
171 | struct GNUNET_MESH_Tunnel **tunnel = cls; | 171 | struct GNUNET_MESH_Tunnel **tunnel = cls; |
172 | struct GNUNET_MessageHeader *hdr = | 172 | struct GNUNET_MessageHeader *hdr = |
173 | (struct GNUNET_MessageHeader *) (tunnel + 1); | 173 | (struct GNUNET_MessageHeader *) (tunnel + 1); |
174 | |||
175 | GNUNET_assert(NULL != tunnel); | ||
176 | GNUNET_assert(NULL != *tunnel); | ||
177 | |||
174 | GNUNET_MESH_notify_transmit_ready (*tunnel, | 178 | GNUNET_MESH_notify_transmit_ready (*tunnel, |
175 | GNUNET_NO, | 179 | GNUNET_NO, |
176 | 42, | 180 | 42, |