From 17b510b1a6d6ccf8ca071e3ea96128335caa84d3 Mon Sep 17 00:00:00 2001 From: Gabor X Toth <*@tg-x.net> Date: Sat, 20 Aug 2016 17:39:55 +0000 Subject: psycutil: check for paused state in got_ack() --- src/psycutil/psyc_message.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/psycutil') diff --git a/src/psycutil/psyc_message.c b/src/psycutil/psyc_message.c index bc1896b1f9..3421fd0ba8 100644 --- a/src/psycutil/psyc_message.c +++ b/src/psycutil/psyc_message.c @@ -841,6 +841,9 @@ GNUNET_PSYC_transmit_got_ack (struct GNUNET_PSYC_TransmitHandle *tmit) } tmit->acks_pending--; + if (GNUNET_YES == tmit->paused) + return; + switch (tmit->state) { case GNUNET_PSYC_MESSAGE_STATE_MODIFIER: -- cgit v1.2.3-18-g5258