aboutsummaryrefslogtreecommitdiff
path: root/src/util/mq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-16 14:54:14 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-16 14:54:14 +0100
commitad22adb15a0c895ac9c25d4c289abf86355a4737 (patch)
treedbc75bdc1b5d08613d391b74e40637ec6c63a0b0 /src/util/mq.c
parent043e4a49181172a448dcb8a6bd1d0b59d79dcee2 (diff)
cancel existing last_control_qe handle before scheduling a new one, always
Diffstat (limited to 'src/util/mq.c')
-rw-r--r--src/util/mq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/mq.c b/src/util/mq.c
index bd7ad7c472..265e4744ba 100644
--- a/src/util/mq.c
+++ b/src/util/mq.c
@@ -730,7 +730,8 @@ server_client_send_impl (struct GNUNET_MQ_Handle *mq,
state->th = GNUNET_SERVER_notify_transmit_ready (state->client,
ntohs (msg->size),
GNUNET_TIME_UNIT_FOREVER_REL,
- &transmit_queued, mq);
+ &transmit_queued,
+ mq);
}