diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-16 10:20:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-16 10:20:01 +0000 |
commit | e76cde7d644a7ca324fec0f9c59c321e98de8d2e (patch) | |
tree | a190f5de12d5e0a23c0eff4959d89adee1631d9c | |
parent | ab3bb8c4287493e878d91882c0cbc132b2b391e7 (diff) |
fixing #3610
-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, |