aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-revocation.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-03-26 22:32:12 +0100
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-03-26 22:32:12 +0100
commit33054bb2a8d6272e2f137e8be1833ff9e469c177 (patch)
treec78739fcf778dc56540877d255ae25766255a672 /src/revocation/gnunet-revocation.c
parent040ebbd2039e5ae0ba93ad3b7976721088ff6294 (diff)
downloadgnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.tar.gz
gnunet-33054bb2a8d6272e2f137e8be1833ff9e469c177.zip
-more coverity fixes
Diffstat (limited to 'src/revocation/gnunet-revocation.c')
-rw-r--r--src/revocation/gnunet-revocation.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/revocation/gnunet-revocation.c b/src/revocation/gnunet-revocation.c
index b5737158b..99fecdd35 100644
--- a/src/revocation/gnunet-revocation.c
+++ b/src/revocation/gnunet-revocation.c
@@ -307,17 +307,9 @@ calculate_pow (void *cls)
307 return; 307 return;
308 } 308 }
309 pow_passes++; 309 pow_passes++;
310 /** 310 pow_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
311 * Otherwise CTRL-C does not work 311 &calculate_pow,
312 */ 312 ph);
313 if (0 == pow_passes % 128)
314 pow_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
315 &calculate_pow,
316 ph);
317 else
318 pow_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
319 &calculate_pow,
320 ph);
321 313
322} 314}
323 315