From a2d78179a4b1971928ccccbe33d7d1b2c5beeaa8 Mon Sep 17 00:00:00 2001 From: bhesmans Date: Sun, 25 Jun 2017 11:46:32 +0200 Subject: [PATCH] Small fix in video stream example (#195) --- examples/video_stream/src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/video_stream/src/stream.c b/examples/video_stream/src/stream.c index 2fa8a8c..d0e0ed3 100755 --- a/examples/video_stream/src/stream.c +++ b/examples/video_stream/src/stream.c @@ -104,7 +104,7 @@ video_stream(struct http_request *req) } bytes++; - n = kore_split_string(bytes, "-", range, 2); + n = kore_split_string(bytes, "-", range, 3); if (n == 0) { v->ref--; http_response(req, 416, NULL, 0);