[tor-commits] [tor/master] fix two issues pointed out by nickm