From: Steven Engler Date: Tue, 30 Sep 2025 14:45:23 +0000 (-0400) Subject: flow-ctrl: fix line length warnings X-Git-Tag: tor-0.4.8.19~7^2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5be2fbf703566ee1d1f0d98b8a213e7116c1e6e0;p=thirdparty%2Ftor.git flow-ctrl: fix line length warnings --- diff --git a/src/core/or/congestion_control_flow.c b/src/core/or/congestion_control_flow.c index 0ddcf0dfd0..fb26780627 100644 --- a/src/core/or/congestion_control_flow.c +++ b/src/core/or/congestion_control_flow.c @@ -489,12 +489,16 @@ flow_control_decide_xoff(edge_connection_t *stream) uint64_t now = monotime_absolute_usec(); if (stream->xoff_grace_period_start_usec == 0) { - /* If unset, we haven't begun the XOFF grace period. We need to start. */ - log_debug(LD_EDGE, "Exceeded XOFF limit; Beginning grace period: total-buffered=%" TOR_PRIuSZ " xoff-limit=%d", + /* If unset, we haven't begun the XOFF grace period. We need to start. + */ + log_debug(LD_EDGE, + "Exceeded XOFF limit; Beginning grace period: " + "total-buffered=%" TOR_PRIuSZ " xoff-limit=%d", total_buffered, buffer_limit_xoff); stream->xoff_grace_period_start_usec = now; - } else if (now > stream->xoff_grace_period_start_usec + XOFF_GRACE_PERIOD_USEC) { + } else if (now > stream->xoff_grace_period_start_usec + + XOFF_GRACE_PERIOD_USEC) { /* If we've exceeded our XOFF grace period, we need to send an XOFF. */ log_info(LD_EDGE, "Sending XOFF: total-buffered=%" TOR_PRIuSZ @@ -520,7 +524,8 @@ flow_control_decide_xoff(edge_connection_t *stream) } } } else { - /* The outbuf length is less than the XOFF limit, so unset our grace period. */ + /* The outbuf length is less than the XOFF limit, so unset our grace + * period. */ stream->xoff_grace_period_start_usec = 0; }