kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 25cf8dc659b11b6d416365a648392f4584801427
parent d4cec3427eaec78da10a853a2b1d83ba4384d575
Author: Joris Vink <joris@coders.se>
Date:   Mon, 21 Jul 2014 01:19:39 +0200

Wrong comparison in kore_strtonum64(), fix.

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

diff --git a/src/utils.c b/src/utils.c @@ -144,7 +144,7 @@ kore_strtonum64(const char *str, int sign, int *err) return (0); } } else { - if ((int64_t)l < 0 || l > ULLONG_MAX) { + if (l > ULLONG_MAX) { *err = KORE_RESULT_ERROR; return (0); }