Let's pretend that one didnt happen

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-10-10 21:07:36 +01:00
parent f2bbe963b6
commit 61d9296a6c
+1 -1
View File
@@ -88,7 +88,7 @@ static inline bool string_has_prefix(const char *compare, const char *prefix)
if (size_inp < size_prefix) {
return false;
}
return strncmp(compare, prefix, size_prefix == 0);
return strncmp(compare, prefix, size_prefix) == 0;
}
/**