From b2146add681ae6af9e202397132b4e05003e69df Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 15 Feb 2021 13:55:07 -0800 Subject: [PATCH] Update ll.c --- client/libs/ll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/libs/ll.c b/client/libs/ll.c index b0d0b246..c45f08c5 100644 --- a/client/libs/ll.c +++ b/client/libs/ll.c @@ -82,7 +82,7 @@ static int compare(ll_t *ll, ll_index_t a, ll_index_t b) if(ll->cmpfunc) return ll->cmpfunc(a.value.ptr, b.value.ptr); else - return a.value.ptr == a.value.ptr; + return a.value.ptr == b.value.ptr; } printf("We forgot to handle a linked-list type!\n");