[tor-commits] [tor/release-0.2.4] Make ensure_capacity a bit more pedantically correct