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 be48cd56e1803bde706f5320ee984cbbc831ff65
parent f86673b97b863f695ca59f67aacbfd5e13980cdc
Author: Joris Vink <joris@coders.se>
Date:   Thu, 12 Dec 2013 01:15:40 +0100

ULONG_MAX -> LLONG_MAX

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

diff --git a/src/spdy.c b/src/spdy.c @@ -632,7 +632,7 @@ spdy_data_frame_recv(struct netbuf *nb) return (KORE_RESULT_ERROR); } - s->post_size = kore_strtonum(content, 10, 0, ULONG_MAX, &err); + s->post_size = kore_strtonum(content, 10, 0, LLONG_MAX, &err); if (err == KORE_RESULT_ERROR) { kore_debug("bad content-length: %s", content); kore_mem_free(content);