Use BUFFLEN in strncmp call