commit a2d78179a4b1971928ccccbe33d7d1b2c5beeaa8
parent 19b7f75b908d65cfd3fc1337cdeaed79f2f7fa2e
Author: bhesmans <bhesmans@users.noreply.github.com>
Date: Sun, 25 Jun 2017 11:46:32 +0200
Small fix in video stream example (#195)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);