diff options
-rw-r--r-- | src/cadet/cadet_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 058f3fa872..57b292f25f 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, |