static void
setup_peer (struct PeerContext *p, const char *cfgname)
{
+ memset (p, 0, sizeof (*p));
p->cfg = GNUNET_CONFIGURATION_create ();
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
}
if (p2.servicehome != NULL)
{
+ GNUNET_DISK_directory_remove (p2.servicehome);
GNUNET_free(p2.servicehome);
- GNUNET_DISK_directory_remove (p2.servicehome);
}
return ok;
}
main (int argc, char *argv[])
{
int ret;
-#ifdef MINGW
- return GNUNET_SYSERR;
-#endif
test_failed = GNUNET_NO;