In the classic version of the story, the wolf blows down the house made of straw and the house made of sticks, but not the house made of bricks.
The brick house is strong enough to withstand the wolf's huffing and puffing. This is why the third little pig is safe and the wolf fails in his attempt to eat him.