X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=src%2Fcadet%2Fcadet_api.c;h=57b292f25f8619f7f24a1c6741f016081a4b96e7;hb=e76cde7d644a7ca324fec0f9c59c321e98de8d2e;hp=058f3fa8726490c5fdb127a1391f4a16610ebf83;hpb=ab3bb8c4287493e878d91882c0cbc132b2b391e7;p=oweals%2Fgnunet.git diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 058f3fa87..57b292f25 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -1440,6 +1440,8 @@ send_packet (struct GNUNET_CADET_Handle *h, th->channel = channel; memcpy (&th[1], msg, msize); add_to_queue (h, th); + if (NULL != h->th) + return; LOG (GNUNET_ERROR_TYPE_DEBUG, " calling ntfy tmt rdy for %u bytes\n", msize); h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, msize,