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 4f1acf70602f4bc45189d9b5a995128d6d86775e
parent 400521073cbff724e213159b380d42da5c1f7cde
Author: Joris Vink <joris@coders.se>
Date:   Thu, 29 Nov 2018 21:25:20 +0100

more intmax_t

Diffstat:
examples/video_stream/src/stream.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/video_stream/src/stream.c b/examples/video_stream/src/stream.c @@ -139,8 +139,9 @@ video_stream(struct http_request *req) return (KORE_RESULT_OK); } - kore_log(LOG_NOTICE, "%p: %s sending: %lld-%lld/%lld", - (void *)req->owner, v->path, start, end - 1, v->size); + kore_log(LOG_NOTICE, "%p: %s sending: %jd-%jd/%jd", + (void *)req->owner, v->path, (intmax_t)start, + (intmax_t)end - 1, (intmax_t)v->size); http_response_header(req, "content-range", rb); } else { start = 0;