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:
b73625d
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 5 Nov 2010 20:13:13 +0000
(20:13 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 5 Nov 2010 20:13:13 +0000
(20:13 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 0faa085946de2c9956eec97bdc1ed3bd934371ff..584daed52d97fdf5f2e830a6b51ad476d7b4f014 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-983,7
+983,8
@@
GNUNET_SCHEDULER_add_continuation (GNUNET_SCHEDULER_Task task,
void *backtrace_array[50];
#endif
- GNUNET_assert (active_task != NULL);
+ GNUNET_assert ( (active_task != NULL) ||
+ (reason == GNUNET_SCHEDULER_REASON_STARTUP) );
t = GNUNET_malloc (sizeof (struct Task));
#if EXECINFO
t->num_backtrace_strings = backtrace(backtrace_array, 50);