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:
88c23c8
)
psycutil: check for paused state in got_ack()
author
Gabor X Toth
<*@tg-x.net>
Sat, 20 Aug 2016 17:39:55 +0000
(17:39 +0000)
committer
Gabor X Toth
<*@tg-x.net>
Sat, 20 Aug 2016 17:39:55 +0000
(17:39 +0000)
src/psycutil/psyc_message.c
patch
|
blob
|
history
diff --git
a/src/psycutil/psyc_message.c
b/src/psycutil/psyc_message.c
index bc1896b1f96d77762c88fd8b3765db923e9ddc4a..3421fd0ba8c384dbf2bc31610bc483034fb3053e 100644
(file)
--- 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: