aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-29 19:22:26 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-29 19:22:26 +0000
commit43933dab999a5714dc86ccfd2e8ba6cae60fed1b (patch)
tree5ef25792066f2a90fb506f31786d415bb535db31 /src/core/core_api.c
parent81ae4871c8451e1eb3a5b270c30f4833d35845c2 (diff)
downloadgnunet-43933dab999a5714dc86ccfd2e8ba6cae60fed1b.tar.gz
gnunet-43933dab999a5714dc86ccfd2e8ba6cae60fed1b.zip
hacky fix for 4588
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r--src/core/core_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 061a929e0..86c9d38a2 100644
--- 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,
1027 th->priority = priority; 1027 th->priority = priority;
1028 th->msize = notify_size; 1028 th->msize = notify_size;
1029 th->cork = cork; 1029 th->cork = cork;
1030 if (NULL == handle->mq)
1031 return th; /* see #4588 (hack until we transition core fully to MQ) */
1030 env = GNUNET_MQ_msg (smr, 1032 env = GNUNET_MQ_msg (smr,
1031 GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST); 1033 GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST);
1032 smr->priority = htonl ((uint32_t) th->priority); 1034 smr->priority = htonl ((uint32_t) th->priority);