From 31381126c231ddbfcf35d659b47bc44f33bd4e07 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 9 Jun 2012 19:49:32 +0000 Subject: [PATCH] -also check cth_in_progress here --- src/fs/gnunet-service-fs_cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.25.1