[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15370 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15370 - gnunet/src/datastore |
Date: |
Tue, 31 May 2011 17:24:34 +0200 |
Author: grothoff
Date: 2011-05-31 17:24:34 +0200 (Tue, 31 May 2011)
New Revision: 15370
Modified:
gnunet/src/datastore/datastore_api.c
Log:
fix
Modified: gnunet/src/datastore/datastore_api.c
===================================================================
--- gnunet/src/datastore/datastore_api.c 2011-05-31 14:54:49 UTC (rev
15369)
+++ gnunet/src/datastore/datastore_api.c 2011-05-31 15:24:34 UTC (rev
15370)
@@ -315,6 +315,11 @@
{
struct GNUNET_DATASTORE_QueueEntry *qe;
+ if (NULL != h->th)
+ {
+ GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
+ h->th = NULL;
+ }
if (h->client != NULL)
{
GNUNET_CLIENT_disconnect (h->client, GNUNET_NO);
@@ -325,11 +330,6 @@
GNUNET_SCHEDULER_cancel (h->reconnect_task);
h->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
}
- if (NULL != h->th)
- {
- GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
- h->th = NULL;
- }
while (NULL != (qe = h->queue_head))
{
GNUNET_assert (NULL != qe->response_proc);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15370 - gnunet/src/datastore,
gnunet <=