]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: http: make extract_cookie_value() return an int not size_t
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Apr 2012 15:21:08 +0000 (17:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2012 22:19:28 +0000 (00:19 +0200)
commit3fb818c0146f9f428cd1eeb7393e1f4c644d7232
tree721d1838c9bef29220dd5d4595e2d367baf73e17
parent108cf6ea9926b8799ab5babc7599c6b6feca08c5
BUILD: http: make extract_cookie_value() return an int not size_t

It's very annoying that we have to deal with the crappy size_t and with ints
at some places because these ones don't mix well. Patch 6f61b2 changed the
chunk len to int but its size remains size_t and some functions are having
trouble being used by several callers depending on the type of their arguments.

Let's turn extract_cookie_value() to int for now on, and plan a massive cleanup
later to remove all size_t.
include/types/buffers.h
src/proto_http.c