From: Alan T. DeKok Date: Fri, 22 May 2020 14:19:46 +0000 (-0400) Subject: fix typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a84a1f08be85c03486558d993a65746644b025e;p=thirdparty%2Ffreeradius-server.git fix typo --- diff --git a/src/lib/util/heap.c b/src/lib/util/heap.c index 42c554eee22..ef391614c59 100644 --- a/src/lib/util/heap.c +++ b/src/lib/util/heap.c @@ -224,7 +224,7 @@ int fr_heap_extract(fr_heap_t *hp, void *data) * Not in the heap. */ child = index_get(hp, data); - if ((child < 0) || ((child == 0) && (data == hp->p[0]))) { + if ((child < 0) || ((child == 0) && (data != hp->p[0]))) { return -1; }