[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/04: memorypool: fixed wrong pointer comparison introd
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/04: memorypool: fixed wrong pointer comparison introduced by 3444792f14d96a58648add92b8f3b70e4babf772 |
Date: |
Wed, 05 Apr 2023 18:46:37 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit f37c98c5cf3d75c430fb561baad277eb9d5cde15
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Apr 5 14:08:01 2023 +0300
memorypool: fixed wrong pointer comparison introduced by
3444792f14d96a58648add92b8f3b70e4babf772
---
src/microhttpd/memorypool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 96515e89..cd358f95 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -125,7 +125,7 @@
* Boolean 'true' if the first pointer is less or equal the second pointer
*/
#define mp_ptr_le_(p1,p2) \
- (((uintptr_t)((const void*)(p1))) <= ((uintptr_t)((const void*)(p1))))
+ (((uintptr_t)((const void*)(p1))) <= ((uintptr_t)((const void*)(p2))))
/**
* The difference in bytes between positions of the first and
* the second pointers
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.