summaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-10-04 14:42:27 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-10-04 15:58:35 -0700
commitd8c714cb241b0c914eedf8808c5840ac8fee3a38 (patch)
tree750c2e9d72aafa3558e6200b2bfa103121d2d288 /ffserver.c
parent8a9089948f023600c1ba70893d5b45fc4b8ecd6c (diff)
downloadffmpeg-streaming-d8c714cb241b0c914eedf8808c5840ac8fee3a38.zip
ffmpeg-streaming-d8c714cb241b0c914eedf8808c5840ac8fee3a38.tar.gz
ffserver: wrap around bandwidth exceeded msg text
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ffserver.c b/ffserver.c
index 34bfa89..a45603a 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1488,9 +1488,11 @@ static int http_parse_request(HTTPContext *c)
"Content-type: text/html\r\n"
"\r\n"
"<html><head><title>Too busy</title></head><body>\r\n"
- "<p>The server is too busy to serve your request at this time.</p>\r\n"
- "<p>The bandwidth being served (including your stream) is %"PRIu64"kbit/sec, "
- "and this exceeds the limit of %"PRIu64"kbit/sec.</p>\r\n"
+ "<p>The server is too busy to serve your request at "
+ "this time.</p>\r\n"
+ "<p>The bandwidth being served (including your stream) "
+ "is %"PRIu64"kbit/sec, and this exceeds the limit of "
+ "%"PRIu64"kbit/sec.</p>\r\n"
"</body></html>\r\n",
current_bandwidth, config.max_bandwidth);
q += strlen(q);
OpenPOWER on IntegriCloud