From: Christian Grothoff Date: Sat, 9 Jun 2012 19:49:32 +0000 (+0000) Subject: -also check cth_in_progress here X-Git-Tag: initial-import-from-subversion-38251~13199 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=31381126c231ddbfcf35d659b47bc44f33bd4e07;p=oweals%2Fgnunet.git -also check cth_in_progress here --- diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index e84993bd3..2f1ba1a28 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c @@ -562,7 +562,7 @@ ats_reserve_callback (void *cls, const struct GNUNET_PeerIdentity *peer, } cp->did_reserve = GNUNET_YES; pth = cp->pth_head; - if ((NULL != pth) && (NULL == pth->cth)) + if ((NULL != pth) && (NULL == pth->cth) && (0 == pth->cth_in_progress)) { /* reservation success, try transmission now! */ pth->cth_in_progress++;