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