I'm going to guess that you read a line with spaces by using fgets(), then tried to compare the string with strcmp() and it failed.

The answer, my young apprentice, is to look at the \n that...