aboutsummaryrefslogtreecommitdiff
path: root/src/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/str.c')
-rw-r--r--src/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/str.c b/src/str.c
index 9cf5685..ef2edad 100644
--- a/src/str.c
+++ b/src/str.c
@@ -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
+}