View Single Post
  #18  
Old 05-06-2011, 09:24 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

You are reading the code incorrectly. The strcasecmp function returns 0 if the strings match.

http://linux.die.net/man/3/strcasecmp
Reply With Quote