summaryrefslogtreecommitdiffstats
path: root/src/fuse/cowfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuse/cowfile.c')
-rw-r--r--src/fuse/cowfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuse/cowfile.c b/src/fuse/cowfile.c
index 4e27f56..82c7af7 100644
--- a/src/fuse/cowfile.c
+++ b/src/fuse/cowfile.c
@@ -608,6 +608,7 @@ static bool clusterUploadDoneHandler( CURLM *cm, CURLMsg *msg )
// didn't get updated again in the meantime.
atomic_compare_exchange_strong( &uploadingCluster->cluster->timeChanged, &uploadingCluster->time, 0 );
uploadingCluster->cluster->uploads++;
+ uploadingCluster->cluster->fails = 0;
totalBlocksUploaded++;
success = true;
}