[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18684 - gnunet/src/hostlist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18684 - gnunet/src/hostlist |
Date: |
Mon, 19 Dec 2011 14:08:25 +0100 |
Author: wachs
Date: 2011-12-19 14:08:25 +0100 (Mon, 19 Dec 2011)
New Revision: 18684
Modified:
gnunet/src/hostlist/test_gnunet_daemon_hostlist.c
Log:
added LRN's patch from mantis bug 1998
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist.c
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist.c 2011-12-19 12:35:31 UTC
(rev 18683)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist.c 2011-12-19 13:08:25 UTC
(rev 18684)
@@ -62,11 +62,21 @@
{
if (p1.th != NULL)
{
+ if (p1.ghh != NULL)
+ {
+ GNUNET_TRANSPORT_get_hello_cancel (p1.ghh);
+ p1.ghh = NULL;
+ }
GNUNET_TRANSPORT_disconnect (p1.th);
p1.th = NULL;
}
if (p2.th != NULL)
{
+ if (p2.ghh != NULL)
+ {
+ GNUNET_TRANSPORT_get_hello_cancel (p2.ghh);
+ p2.ghh = NULL;
+ }
GNUNET_TRANSPORT_disconnect (p2.th);
p2.th = NULL;
}
@@ -118,6 +128,7 @@
struct PeerContext *p = cls;
GNUNET_TRANSPORT_get_hello_cancel (p->ghh);
+ p->ghh = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Received HELLO, starting hostlist service.\n");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18684 - gnunet/src/hostlist,
gnunet <=