use strrchr() rather than deprecated rindex()
1 file changed