CR: Added a const and used ::strcmp.