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