projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MinGW
[oweals/gnunet.git]
/
src
/
util
/
scheduler.c
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;