diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-06 01:36:22 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-06 01:36:22 +0000 |
commit | 9bf47daa405545194eb11636fd40df1f5215fbe8 (patch) | |
tree | 58d7fba78806472d2c5c2f8181e9316996cf5ecf /src | |
parent | 150370d31a60344f6d4754e9021f482faa2326bb (diff) | |
download | gnunet-9bf47daa405545194eb11636fd40df1f5215fbe8.tar.gz gnunet-9bf47daa405545194eb11636fd40df1f5215fbe8.zip |
- remove dead handler
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_peer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c index 0b2fdff07..c11cec5e5 100644 --- a/src/mesh/gnunet-service-mesh_peer.c +++ b/src/mesh/gnunet-service-mesh_peer.c | |||
@@ -346,16 +346,13 @@ core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
346 | * Functions to handle messages from core | 346 | * Functions to handle messages from core |
347 | */ | 347 | */ |
348 | static struct GNUNET_CORE_MessageHandler core_handlers[] = { | 348 | static struct GNUNET_CORE_MessageHandler core_handlers[] = { |
349 | {&GMC_handle_create, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE, | 349 | {&GMC_handle_create, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE, 0}, |
350 | 0}, | ||
351 | {&GMC_handle_confirm, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_ACK, | 350 | {&GMC_handle_confirm, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_ACK, |
352 | sizeof (struct GNUNET_MESH_ConnectionACK)}, | 351 | sizeof (struct GNUNET_MESH_ConnectionACK)}, |
353 | {&GMC_handle_broken, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_BROKEN, | 352 | {&GMC_handle_broken, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_BROKEN, |
354 | sizeof (struct GNUNET_MESH_ConnectionBroken)}, | 353 | sizeof (struct GNUNET_MESH_ConnectionBroken)}, |
355 | {&GMC_handle_destroy, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY, | 354 | {&GMC_handle_destroy, GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY, |
356 | sizeof (struct GNUNET_MESH_ConnectionDestroy)}, | 355 | sizeof (struct GNUNET_MESH_ConnectionDestroy)}, |
357 | {&GMC_handle_keepalive, GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE, | ||
358 | sizeof (struct GNUNET_MESH_ConnectionKeepAlive)}, | ||
359 | {&GMC_handle_ack, GNUNET_MESSAGE_TYPE_MESH_ACK, | 356 | {&GMC_handle_ack, GNUNET_MESSAGE_TYPE_MESH_ACK, |
360 | sizeof (struct GNUNET_MESH_ACK)}, | 357 | sizeof (struct GNUNET_MESH_ACK)}, |
361 | {&GMC_handle_poll, GNUNET_MESSAGE_TYPE_MESH_POLL, | 358 | {&GMC_handle_poll, GNUNET_MESSAGE_TYPE_MESH_POLL, |