Hot protons in the inner corona and their effect on the flow properties of the solar wind