[FFmpeg-devel] [PATCH] ffserver: fix printf argument type

Clément Bœsch ubitux at gmail.com
Thu Oct 25 18:41:54 CEST 2012


On Thu, Oct 25, 2012 at 04:37:31PM +0000, Paul B Mahol wrote:
> From: Martin Ettl <ettl.martin78 at googlemail.com>
> 
> ---
>  ffserver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ffserver.c b/ffserver.c
> index c8f9cec..d985056 100644
> --- a/ffserver.c
> +++ b/ffserver.c
> @@ -801,7 +801,7 @@ static void http_send_too_busy_reply(int fd)
>                         "\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 number of current connections is %d, and this exceeds the limit of %d.</p>\r\n"
> +                       "<p>The number of current connections is %u, and this exceeds the limit of %u.</p>\r\n"
>                         "</body></html>\r\n",
>                         nb_connections, nb_max_connections);
>      av_assert0(len < sizeof(buffer));

LGTM

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121025/8d66be3f/attachment.asc>


More information about the ffmpeg-devel mailing list