From 7372bd17e23ee316fe9f96f017d03c2da5043c47 Mon Sep 17 00:00:00 2001 From: eddyg Date: Mon, 18 Feb 2008 01:58:19 +0000 Subject: Fix hb_log to truncate the message at the correct point, fixes 1244. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1282 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/common.c b/libhb/common.c index 71c171bf1..41a9fe6e2 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -527,7 +527,7 @@ void hb_log( char * log, ... ) /* Convert the message to a string */ va_start( args, log ); - vsnprintf( string + 11, 169, log, args ); + vsnprintf( string + 11, 349, log, args ); va_end( args ); /* Add the end of line */ -- cgit v1.2.3