1,
GNUNET_NO);
stat_hellos_obtained++;
- GNUNET_TRANSPORT_offer_hello (transport, msg);
+ GNUNET_TRANSPORT_offer_hello (transport, msg, NULL, NULL);
}
else
{
"HOSTLISTFILE", "HOSTLIST");
return;
}
- if (GNUNET_SYSERR != GNUNET_DISK_directory_create_for_file (filename))
- {
+ if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (filename))
+ return;
wh = GNUNET_BIO_write_open (filename);
if ( NULL == wh)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_("Writing %u hostlist URIs to `%s'\n" ),
linked_list_size, filename);
- }
/* add code to write hostlists to file using bio */
ok = GNUNET_YES;
counter = 0;