diff --git a/src/helper/binarybuffer.c b/src/helper/binarybuffer.c index 423739a9d..c25383dc6 100644 --- a/src/helper/binarybuffer.c +++ b/src/helper/binarybuffer.c @@ -74,7 +74,7 @@ bool buf_cmp(const void *_buf1, const void *_buf2, unsigned size) unsigned last = size / 8; if (memcmp(_buf1, _buf2, last) != 0) - return false; + return true; unsigned trailing = size % 8; if (!trailing)