Small fix in video stream example (#195)

This commit is contained in:
bhesmans 2017-06-25 11:46:32 +02:00 committed by Joris Vink
parent 19b7f75b90
commit a2d78179a4
1 changed files with 1 additions and 1 deletions

View File

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