aboutsummaryrefslogtreecommitdiff
path: root/reliable.c
diff options
context:
space:
mode:
Diffstat (limited to 'reliable.c')
-rw-r--r--reliable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/reliable.c b/reliable.c
index ec03165..1f238cc 100644
--- a/reliable.c
+++ b/reliable.c
@@ -516,6 +516,7 @@ reliable_can_send (const struct reliable *rel)
return n_current > 0 && !rel->hold;
}
+#ifdef EXPONENTIAL_BACKOFF
/* return a unique point-in-time to trigger retry */
static time_t
reliable_unique_retry (struct reliable *rel, time_t retry)
@@ -535,6 +536,7 @@ reliable_unique_retry (struct reliable *rel, time_t retry)
}
return retry;
}
+#endif
/* return next buffer to send to remote */
struct buffer *