[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14528 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14528 - gnunet/src/mesh |
Date: |
Thu, 24 Feb 2011 15:20:22 +0100 |
Author: toelke
Date: 2011-02-24 15:20:22 +0100 (Thu, 24 Feb 2011)
New Revision: 14528
Modified:
gnunet/src/mesh/mesh_api.c
Log:
fix jump to NULL
Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c 2011-02-24 13:34:32 UTC (rev 14527)
+++ gnunet/src/mesh/mesh_api.c 2011-02-24 14:20:22 UTC (rev 14528)
@@ -226,11 +226,11 @@
{
/* disconnect tunnels */
/* outbound tunnels */
- if (telement->tunnel.connect_handler != NULL)
+ if (telement->tunnel.connect_handler != NULL && NULL !=
telement->tunnel.disconnect_handler)
telement->tunnel.disconnect_handler (telement->tunnel.handler_cls,
peer);
/* inbound tunnels */
- else
+ else if (NULL != handle->cleaner)
handle->cleaner (handle->cls, &telement->tunnel,
&telement->tunnel.ctx);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14528 - gnunet/src/mesh,
gnunet <=