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