From 61d9296a6c7052885d2414fe9fdf1466559cff8d Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 10 Oct 2017 21:07:36 +0100 Subject: [PATCH] Let's pretend that one didnt happen Signed-off-by: Ikey Doherty --- src/intercept/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intercept/main.c b/src/intercept/main.c index 95646e6..6d7858d 100644 --- a/src/intercept/main.c +++ b/src/intercept/main.c @@ -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; } /**