I have done some basic testing - and tried to keep the base functionality identical.
What's the benefit of calculating the length here and later using strncmp(), rather than just using strcmp() later on?
Thanks! Added one comment, I'm probably missing something about those strncmp()s.
1 new commit added
Good catch - I've replaced strncmp with strcmp
Pull-Request has been merged by twaugh
Thank you!
I have done some basic testing - and tried to keep the base functionality identical.