projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fecb90
)
fix assertion:
author
Christian Grothoff
<christian@grothoff.org>
Thu, 28 Jul 2011 16:33:48 +0000
(16:33 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 28 Jul 2011 16:33:48 +0000
(16:33 +0000)
src/nse/gnunet-service-nse.c
patch
|
blob
|
history
diff --git
a/src/nse/gnunet-service-nse.c
b/src/nse/gnunet-service-nse.c
index 0df6975f5e054d9577eac63d1c16f95cb9dd992b..6a1e577fef57928f6ccdbdb26f922a985f178e39 100644
(file)
--- a/
src/nse/gnunet-service-nse.c
+++ b/
src/nse/gnunet-service-nse.c
@@
-923,9
+923,8
@@
update_flood_times (void *cls,
{
/* still stuck in previous round, no point to update, check that
we are active here though... */
-#if DEBUG_NSE
- GNUNET_break (peer_entry->transmit_task != GNUNET_SCHEDULER_NO_TASK);
-#endif
+ GNUNET_break ( (peer_entry->transmit_task != GNUNET_SCHEDULER_NO_TASK) ||
+ (peer_entry->th != NULL) );
return GNUNET_OK;
}
if (peer_entry->transmit_task != GNUNET_SCHEDULER_NO_TASK)