summaryrefslogtreecommitdiff
path: root/navit/log.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-18 08:55:00 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-18 08:55:00 +0000
commit5a3a0143a3197d66b7f5746416394847d801d73f (patch)
treef9016cb798fdfd9e8600c1459f6e4d314a63a354 /navit/log.c
parentca2d84402789e52f5350d371e8b822ba19eb2ba0 (diff)
downloadnavit-5a3a0143a3197d66b7f5746416394847d801d73f.tar.gz
Fix:Core:Use g_vsnsprintf instead of vsnprintf for more flexibility
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4189 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/log.c')
-rw-r--r--navit/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/log.c b/navit/log.c
index 8e9a178c3..574b7732d 100644
--- a/navit/log.c
+++ b/navit/log.c
@@ -338,7 +338,7 @@ log_printf(struct log *this_, char *fmt, ...)
va_start(ap, fmt);
// Format the string and write it to the log
- size = vsnprintf(buffer, LOG_BUFFER_SIZE, fmt, ap);
+ size = g_vsnprintf(buffer, LOG_BUFFER_SIZE, fmt, ap);
log_write(this_, buffer, size, 0);
va_end(ap);