mirror of
https://git.kore.io/kore.git
synced 2024-11-18 16:08:29 +01:00
better format string
This commit is contained in:
parent
e97396366c
commit
400521073c
@ -20,6 +20,7 @@
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <kore/kore.h>
|
||||
#include <kore/http.h>
|
||||
@ -83,8 +84,8 @@ video_stream(struct http_request *req)
|
||||
return (KORE_RESULT_OK);
|
||||
}
|
||||
|
||||
kore_log(LOG_NOTICE, "%p: opened %s (%s) for streaming (%lld ref:%d)",
|
||||
(void *)req->owner, v->path, ctype, v->size, v->ref);
|
||||
kore_log(LOG_NOTICE, "%p: opened %s (%s) for streaming (%jd ref:%d)",
|
||||
(void *)req->owner, v->path, ctype, (intmax_t)v->size, v->ref);
|
||||
|
||||
if (http_request_header(req, "range", &header)) {
|
||||
if ((bytes = strchr(header, '=')) == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user