mirror of https://git.kore.io/kore.git
Small fix in video stream example (#195)
This commit is contained in:
parent
19b7f75b90
commit
a2d78179a4
|
@ -104,7 +104,7 @@ video_stream(struct http_request *req)
|
||||||
}
|
}
|
||||||
|
|
||||||
bytes++;
|
bytes++;
|
||||||
n = kore_split_string(bytes, "-", range, 2);
|
n = kore_split_string(bytes, "-", range, 3);
|
||||||
if (n == 0) {
|
if (n == 0) {
|
||||||
v->ref--;
|
v->ref--;
|
||||||
http_response(req, 416, NULL, 0);
|
http_response(req, 416, NULL, 0);
|
||||||
|
|
Loading…
Reference in New Issue