summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/or.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index efe5680b40..ea38022f43 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2047,8 +2047,10 @@ typedef struct download_status_t {
* exponential backoffs? */
uint8_t last_backoff_position; /**< number of attempts/failures, depending
* on increment_on, when we last recalculated
- * the delay. */
- int last_delay_used; /**< last delay used for random exponential backoff */
+ * the delay. Only updated if backoff
+ * == 1. */
+ int last_delay_used; /**< last delay used for random exponential backoff;
+ * only updated if backoff == 1 */
} download_status_t;
/** If n_download_failures is this high, the download can never happen. */