1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-17 23:35:53 +03:00
openwrt-xburst/package/busybox/patches/000-upstream-indexcgi.patch
nico 742ab3aa56 package/busybox: add 3 upstream fixes, bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 08:48:19 +00:00

12 lines
406 B
Diff

--- a/networking/httpd_indexcgi.c
+++ b/networking/httpd_indexcgi.c
@@ -315,7 +315,7 @@ int main(int argc, char *argv[])
if (S_ISREG(cdir->dl_mode))
fmt_ull(cdir->dl_size);
fmt_str("<td class=dt>");
- tm = gmtime(&cdir->dl_mtime);
+ ptm = gmtime(&cdir->dl_mtime);
fmt_04u(1900 + ptm->tm_year); *dst++ = '-';
fmt_02u(ptm->tm_mon + 1); *dst++ = '-';
fmt_02u(ptm->tm_mday); *dst++ = ' ';