Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
[openwrt.git] / package / busybox / patches / 000-upstream-indexcgi.patch
1 --- a/networking/httpd_indexcgi.c
2 +++ b/networking/httpd_indexcgi.c
3 @@ -315,7 +315,7 @@ int main(int argc, char *argv[])
4 if (S_ISREG(cdir->dl_mode))
5 fmt_ull(cdir->dl_size);
6 fmt_str("<td class=dt>");
7 - tm = gmtime(&cdir->dl_mtime);
8 + ptm = gmtime(&cdir->dl_mtime);
9 fmt_04u(1900 + ptm->tm_year); *dst++ = '-';
10 fmt_02u(ptm->tm_mon + 1); *dst++ = '-';
11 fmt_02u(ptm->tm_mday); *dst++ = ' ';
This page took 0.045063 seconds and 5 git commands to generate.