[Curl] Bug fix after r219606