Firefighter hurt while battling flames