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);