[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19355 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19355 - gnunet/src/mesh |
Date: |
Tue, 24 Jan 2012 21:11:33 +0100 |
Author: grothoff
Date: 2012-01-24 21:11:33 +0100 (Tue, 24 Jan 2012)
New Revision: 19355
Modified:
gnunet/src/mesh/mesh_api.c
Log:
-do not leave th non-NULL on reconnect
Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c 2012-01-24 20:09:00 UTC (rev 19354)
+++ gnunet/src/mesh/mesh_api.c 2012-01-24 20:11:33 UTC (rev 19355)
@@ -663,6 +663,7 @@
if (NULL != h->th)
{
GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
+ h->th = NULL;
}
if (NULL != h->client)
{
@@ -1333,10 +1334,12 @@
if (NULL != handle->th)
{
GNUNET_CLIENT_notify_transmit_ready_cancel (handle->th);
+ handle->th = NULL;
}
if (NULL != handle->client)
{
GNUNET_CLIENT_disconnect (handle->client, GNUNET_NO);
+ handle->client = NULL;
}
GNUNET_free (handle);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19355 - gnunet/src/mesh,
gnunet <=