the puppy was in the process of sniffing at a bird , his tail in the air , his triangle ears pricked , his chubby legs ready to rear backward if the robin in front of him turned out to be foe rather than friend .