aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/gnunet-service-fs_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index e84993bd38..2f1ba1a284 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++;