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:
bec0978
)
cont must be called instantly
author
Christian Grothoff
<christian@grothoff.org>
Tue, 16 Nov 2010 20:23:34 +0000
(20:23 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 16 Nov 2010 20:23:34 +0000
(20:23 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 350f3d2b8dd1ac50becf4eb00a1141040ef1e019..fb975e731777fd37ed781c1f6323630ac3c87f24 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-658,11
+658,9
@@
transmit_message (void *cls,
memcpy (buf, hdr, msize);
GNUNET_CONTAINER_DLL_remove (h->pending_head,
h->pending_tail,
- cm);
+ cm);
if (NULL != cm->cont)
- GNUNET_SCHEDULER_add_continuation (cm->cont,
- cm->cont_cls,
- GNUNET_SCHEDULER_REASON_PREREQ_DONE);
+ cm->cont (cm->cont_cls, NULL);
GNUNET_free (cm);
trigger_next_request (h, GNUNET_NO);
return msize;