Closed ghost closed 3 years ago
strncmp is safer than strcmp. Besides, make sure the file name ends with "\0".
LGTM
strncmp is safer than strcmp. Besides, make sure the file name ends with "\0".