aboutsummaryrefslogtreecommitdiff
path: root/src/psycutil
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-08-20 17:39:55 +0000
committerGabor X Toth <*@tg-x.net>2016-08-20 17:39:55 +0000
commit17b510b1a6d6ccf8ca071e3ea96128335caa84d3 (patch)
tree2badba2b7d09a18053bc5d8297667ee61d0ff57b /src/psycutil
parent88c23c83c71ff83bd67ce371176531a99a1be8d3 (diff)
psycutil: check for paused state in got_ack()
Diffstat (limited to 'src/psycutil')
-rw-r--r--src/psycutil/psyc_message.c3
1 files changed, 3 insertions, 0 deletions
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: