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:
81ae487
)
hacky fix for 4588
author
Christian Grothoff
<christian@grothoff.org>
Wed, 29 Jun 2016 19:22:26 +0000
(19:22 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 29 Jun 2016 19:22:26 +0000
(19:22 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 061a929e0068d54586c55c355f8f3df57c52c58a..86c9d38a250eac210636b6131f9c3342d3bcbfa5 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-1027,6
+1027,8
@@
GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle,
th->priority = priority;
th->msize = notify_size;
th->cork = cork;
+ if (NULL == handle->mq)
+ return th; /* see #4588 (hack until we transition core fully to MQ) */
env = GNUNET_MQ_msg (smr,
GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST);
smr->priority = htonl ((uint32_t) th->priority);