Added one null comparison in string compare...

This commit is contained in:
Ognjen Milan Robovic 2024-06-16 14:16:28 -04:00
parent 1887bae82a
commit b216920600

View File

@ -523,7 +523,11 @@ int string_compare (char * string_0, char * string_1) {
}
}
return (true);
if (string_0 [i] != string_1 [i]) {
return (false);
} else {
return (true);
}
}
char * string_copy (char * string_0, char * string_1) {