Project

General

Profile

Actions

Bug #1699

closed

(typo?) localtime should be used instead of localtime_r

Added by Anonymous almost 16 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Low
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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


Files

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

Updated by stbuehler over 15 years ago

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

Fixed in r2247 and r2248 for 1.4 and 1.5

Actions

Also available in: Atom