diff options
Diffstat (limited to 'src/str.c')
| -rw-r--r-- | src/str.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ uint16_t len(const char *s){ bool sameStr(const char *s1, const char *s2){ uint16_t i1 = 0, i2 = 0; - while(s1[i1] && s2[i2] && s1[i1] == s2[i2]) + while(s1[i1] && s1[i1] == s2[i2]) ++i1, ++i2; return !s1[i1] && !s2[i2]; } @@ -56,4 +56,4 @@ ssize_t strInTags(const char *tags, int n, const char *ndl, int m, char sep){ } } return -1; -}
\ No newline at end of file +} |
