[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24223 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24223 - gnunet/src/ats |
Date: |
Mon, 8 Oct 2012 15:24:16 +0200 |
Author: grothoff
Date: 2012-10-08 15:24:16 +0200 (Mon, 08 Oct 2012)
New Revision: 24223
Modified:
gnunet/src/ats/ats_api_performance.c
Log:
-abort pending transmission before disconnect
Modified: gnunet/src/ats/ats_api_performance.c
===================================================================
--- gnunet/src/ats/ats_api_performance.c 2012-10-08 13:23:23 UTC (rev
24222)
+++ gnunet/src/ats/ats_api_performance.c 2012-10-08 13:24:16 UTC (rev
24223)
@@ -395,12 +395,12 @@
GNUNET_TIME_UNIT_FOREVER_REL);
return;
reconnect:
- GNUNET_CLIENT_disconnect (ph->client);
if (NULL != ph->th)
{
GNUNET_CLIENT_notify_transmit_ready_cancel (ph->th);
ph->th = NULL;
}
+ GNUNET_CLIENT_disconnect (ph->client);
ph->client = NULL;
ph->task =
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24223 - gnunet/src/ats,
gnunet <=