know about this one, so we need to
notify transport service about disconnect */
session->plugin->env->receive (session->plugin->env->cls,
- NULL,
- &session->target,
+ &session->target, NULL,
1,
session->connect_addr,
session->connect_alen);
(unsigned int) msize,
(unsigned int) ntohs (msg->type));
#endif
- plugin->env->receive (plugin->env->cls, message, &session->target, 1,
+ plugin->env->receive (plugin->env->cls, &session->target, message, 1,
session->connect_addr,
session->connect_alen);
/* update bandwidth used */
ntohs (hdr->type));
#endif
plugin->env->receive (plugin->env->cls,
- &msg->header, sender, UDP_DIRECT_DISTANCE, (char *)&addr, fromlen);
+ sender, &msg->header, UDP_DIRECT_DISTANCE, (char *)&addr, fromlen);
GNUNET_free (sender);
GNUNET_free (buf);
* A "get_hello" request has timed out. Signal the client
* and clean up.
*/
+#if 0
static void
hello_wait_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
hwl->rec (hwl->rec_cls, NULL);
GNUNET_free (hwl);
}
-
+#endif
/**
* Obtain the HELLO message for this peer.