Someone made a bracha on a glass of milk. He drank a cheekful and immediately spit it out because it was spoiled.
Is he required to find another food requiring the same bracha (shehakol in this case) immediately, or was the initial bracha considered valid because his initial intent was to drink the food and the fact that it was spoiled "accidental" (oness)?