}
statistics_file = fopen (statistics_filename, "w");
- GNUNET_STATISTICS_get (statistics, NULL, NULL, GNUNET_TIME_UNIT_FOREVER_REL,
- statistics_done, statistics_result, NULL);
+ GNUNET_STATISTICS_get (statistics, NULL, NULL,
+ &statistics_done,
+ &statistics_result, NULL);
}
el = GNUNET_malloc (sizeof (struct GNUNET_SET_Element) +
sizeof (struct GNUNET_HashCode));
el->element_type = 0;
- memcpy (&el[1], key, sizeof *key);
+ GNUNET_memcpy (&el[1], key, sizeof *key);
el->data = &el[1];
el->size = sizeof *key;
GNUNET_SET_add_element (set, el, NULL, NULL);