Famotidine, a histamine-2–receptor antagonist, was less effective than pantoprazole, a proton-pump inhibitor.