GNUNET_PEER_change_rc (mb->target_list[i], -1);
mb->target_list[i] = 0;
mb->used_targets++;
+ memset (&migm, 0, sizeof (migm));
migm.header.size = htons (sizeof (migm) + mb->size);
migm.header.type = htons (GNUNET_MESSAGE_TYPE_FS_PUT);
migm.type = htonl (mb->type);
plug->env.cfg = cfg;
plug->env.sched = sched;
plug->env.my_identity = &my_identity;
+ plug->env.our_hello = &our_hello;
plug->env.cls = plug;
plug->env.receive = &plugin_env_receive;
plug->env.notify_address = &plugin_env_notify_address;
*/
const struct GNUNET_PeerIdentity *my_identity;
+ /**
+ * Pointer (!) to our HELLO message. Note that the address
+ * referred to "*our_hello" might change over time.
+ */
+ const struct GNUNET_HELLO_Message **our_hello;
+
/**
* Closure for the various callbacks.
*/