kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d40fd489f8a4de84cae8cd8c20045958d13b65b5
parent 69f26823b9e24f34b9a14b0e8561b5720bd0ce68
Author: Joris Vink <joris@coders.se>
Date:   Thu,  6 Mar 2014 08:21:58 +0100

s/ptr/entry

Diffstat:
src/pool.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pool.c b/src/pool.c @@ -55,7 +55,7 @@ kore_pool_get(struct kore_pool *pool) entry = LIST_FIRST(&(pool->freelist)); if (entry->state != POOL_ELEMENT_FREE) - fatal("%s: element %p was not free", pool->name, ptr); + fatal("%s: element %p was not free", pool->name, entry); LIST_REMOVE(entry, list); entry->state = POOL_ELEMENT_BUSY;