{
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;
}
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");
}