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:
e0b6f7d
)
-mark function that should never be called as such
author
Christian Grothoff
<christian@grothoff.org>
Fri, 20 Jan 2012 22:16:29 +0000
(22:16 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 20 Jan 2012 22:16:29 +0000
(22:16 +0000)
src/vpn/gnunet-service-vpn.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-service-vpn.c
b/src/vpn/gnunet-service-vpn.c
index 6b89c46ae2277a250b5bf560de4634ed08076c88..4bff262c39fb67ee6f5132f384d566935d55a5d6 100644
(file)
--- a/
src/vpn/gnunet-service-vpn.c
+++ b/
src/vpn/gnunet-service-vpn.c
@@
-2108,16
+2108,8
@@
inbound_tunnel_cb (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
static void
tunnel_cleaner (void *cls, const struct GNUNET_MESH_Tunnel *tunnel, void *tunnel_ctx)
{
- struct TunnelState *ts = tunnel_ctx;
-
- if (NULL == ts)
- {
- GNUNET_break (0);
- return;
- }
- GNUNET_assert (ts->tunnel == tunnel);
- ts->tunnel = NULL;
- free_tunnel_state (ts);
+ /* we don't have inbound tunnels, so this function should never be called */
+ GNUNET_break (0);
}