Project

General

Profile

Bug #1699

(typo?) localtime should be used instead of localtime_r

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

I think there's a typo in both lighttpd-1.4.19 and 1.5-svn, in file src/mod_accesslog.c. The second localtime_r() call should be instead a localtime() call, because:

1/ it's in an else block of an # ifdef HAVE_LOCALTIME_R.

2/ It only has one argument.

See the attached patch.

-- chl

lighttpd-1.4.19.patch View - the patch -- chl (784 Bytes) Anonymous, 2008-06-22 13:23

Associated revisions

Revision 25c7c7f3 (diff)
Added by stbuehler about 8 years ago

fixed typo in mod_accesslog, localtime instead of localtime_r (#1699)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2247 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2247 and r2248 for 1.4 and 1.5

Also available in: Atom