From 2f6a4fa279fba9979ed30b9613cac8b953d59825 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Sun, 5 Jan 2014 17:01:50 +0400 Subject: [PATCH] fixed formatting error in stat module --- ngx_rtmp_stat_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_stat_module.c b/ngx_rtmp_stat_module.c index 5e67770..326a811 100644 --- a/ngx_rtmp_stat_module.c +++ b/ngx_rtmp_stat_module.c @@ -255,7 +255,7 @@ ngx_rtmp_stat_bw(ngx_http_request_t *r, ngx_chain_t ***lll, ngx_rtmp_bandwidth_t *bw, char *name, ngx_uint_t flags) { - u_char buf[NGX_INT64_LEN + 1]; + u_char buf[NGX_INT64_LEN + 9]; ngx_rtmp_update_bandwidth(bw, 0);