I think strcmp() is  a better choice than strstr()