Project

General

Profile

Bug #1699 ยป lighttpd-1.4.19.patch

the patch -- chl - Anonymous, 2008-06-22 13:23

View differences:

lighttpd-1.4.19/src/mod_accesslog.c 2008-06-22 15:04:49.000000000 +0200
674 674
					localtime_r(&(srv->cur_ts), &tm);
675 675
					strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, "[%d/%b/%Y:%H:%M:%S ", &tm);
676 676
# else
677
					strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, "[%d/%b/%Y:%H:%M:%S ", localtime_r(&(srv->cur_ts)));
677
					strftime(p->conf.ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, "[%d/%b/%Y:%H:%M:%S ", localtime(&(srv->cur_ts)));
678 678
# endif
679 679
					p->conf.ts_accesslog_str->used = strlen(p->conf.ts_accesslog_str->ptr) + 1;
680 680

  
    (1-1/1)