summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-02-18 01:58:19 +0000
committereddyg <[email protected]>2008-02-18 01:58:19 +0000
commit7372bd17e23ee316fe9f96f017d03c2da5043c47 (patch)
tree6a6f3b758601c4c56f1e8647fb6f76d12cc0c9ca /libhb/common.c
parent10513ab05526a300114452bd92cffd07d4474773 (diff)
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
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
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 */