diff --git a/ffserver.c b/ffserver.c index 2bd92a1406..bd8d95ec2b 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1566,7 +1566,7 @@ static int http_parse_request(HTTPContext *c) if (stream->stream_type == STREAM_TYPE_REDIRECT) { c->http_error = 301; q = c->buffer; - q += snprintf(q, c->buffer_size, + snprintf(q, c->buffer_size, "HTTP/1.0 301 Moved\r\n" "Location: %s\r\n" "Content-type: text/html\r\n" @@ -1574,6 +1574,7 @@ static int http_parse_request(HTTPContext *c) "
The bandwidth being served (including your stream) is %"PRIu64"kbit/sec, " "and this exceeds the limit of %"PRIu64"kbit/sec.
\r\n" "