Refactor bridge download statuses to increment on attempt
commit6370fb77c586e9ad68c7d1ecb95be36137cb9067
authorteor <teor2345@gmail.com>
Tue, 29 Aug 2017 05:25:33 +0000 (29 15:25 +1000)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Sep 2017 14:38:25 +0000 (12 10:38 -0400)
tree4991dfe830f592f7eb6edda1d7c17e2ee5c350fa
parent97249c4f5e389141cb4ff3562a3813bd09bff6ad
Refactor bridge download statuses to increment on attempt

We were always incrementing bridge download statuses on each attempt,
but we were using the "increment on failure" functions to do it.
And we never incremented them on failure.

No behaviour change.
src/or/bridges.c