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:
b987d31
)
assert
author
Christian Grothoff
<christian@grothoff.org>
Mon, 15 Mar 2010 14:16:02 +0000
(14:16 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 15 Mar 2010 14:16:02 +0000
(14:16 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 41cce0b45193c6ed74fcaabf228e978ac049d709..b5d998ef598c35fb6a8c224125de39b6c9f2f530 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-1098,6
+1098,8
@@
GNUNET_SCHEDULER_add_select (struct GNUNET_SCHEDULER_Handle * sched,
#if EXECINFO
void *backtrace_array[MAX_TRACE_DEPTH];
#endif
+
+ GNUNET_assert (NULL != task);
t = GNUNET_malloc (sizeof (struct Task));
t->callback = task;
t->callback_cls = task_cls;