*/
static void
sync_rd (const struct RevocationData *rd)
-{
+{
if ( (NULL != filename) &&
(sizeof (struct RevocationData) ==
GNUNET_DISK_fn_write (filename,
struct RevocationData *rd = cls;
/* store temporary results */
+ pow_task = NULL;
if (0 == (rd->pow % 128))
sync_rd (rd);
/* display progress estimate */
"write",
filename);
if (perform)
+ {
perform_revocation (rd);
+ }
else
{
FPRINTF (stderr, "%s", "\n");
filename);
GNUNET_SCHEDULER_shutdown ();
}
- GNUNET_free (rd);
return;
}
pow_task = GNUNET_SCHEDULER_add_now (&calculate_pow,