psycutil: check for paused state in got_ack()
authorGabor X Toth <*@tg-x.net>
Sat, 20 Aug 2016 17:39:55 +0000 (17:39 +0000)
committerGabor X Toth <*@tg-x.net>
Sat, 20 Aug 2016 17:39:55 +0000 (17:39 +0000)
src/psycutil/psyc_message.c

index bc1896b1f96d77762c88fd8b3765db923e9ddc4a..3421fd0ba8c384dbf2bc31610bc483034fb3053e 100644 (file)
@@ -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: