Is this comparison correct? 

 Doesn't strrchr get the last occurrence (ie, we'd only be comparing the minor version number)?