diff options
author | mvglasow <mvglasow@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-15 17:33:13 +0000 |
---|---|---|
committer | mvglasow <mvglasow@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-15 17:33:13 +0000 |
commit | 2fd3c313a5fc7f3728d9d05759b4df946584e9d1 (patch) | |
tree | 79a757660dd6f8b713fdef2bea0cd3ac7b09dc03 | |
parent | bab28ff2c621410fdc7ea08e8ac444b660d9b539 (diff) | |
download | navit-2fd3c313a5fc7f3728d9d05759b4df946584e9d1.tar.gz |
Fix:core:Obey size argument of strftime_localtime in log.c
Signed-off-by: mvglasow <michael -at- vonglasow.com>
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5949 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | navit/log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/log.c b/navit/log.c index 2373f1954..c6de884a9 100644 --- a/navit/log.c +++ b/navit/log.c @@ -95,8 +95,7 @@ strftime_localtime(char *buffer, int size, char *fmt) t=time(NULL); tm=localtime(&t); - strftime(buffer, 4096, fmt, tm); - //FIXME: strftime(buffer, size - 1, fmt, tm); + strftime(buffer, size - 1, fmt, tm); } /** |