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