Diff of /trunk/mkinitrd-magellan/busybox/networking/httpd_indexcgi.c
Parent Directory | Revision Log | Patch
revision 990 by niro, Sun May 30 11:32:42 2010 UTC | revision 991 by niro, Sun May 30 11:42:41 2010 UTC | |
---|---|---|
# | Line 315 int main(int argc, char *argv[]) | Line 315 int main(int argc, char *argv[]) |
315 | if (S_ISREG(cdir->dl_mode)) | if (S_ISREG(cdir->dl_mode)) |
316 | fmt_ull(cdir->dl_size); | fmt_ull(cdir->dl_size); |
317 | fmt_str("<td class=dt>"); | fmt_str("<td class=dt>"); |
318 | tm = gmtime(&cdir->dl_mtime); | ptm = gmtime(&cdir->dl_mtime); |
319 | fmt_04u(1900 + ptm->tm_year); *dst++ = '-'; | fmt_04u(1900 + ptm->tm_year); *dst++ = '-'; |
320 | fmt_02u(ptm->tm_mon + 1); *dst++ = '-'; | fmt_02u(ptm->tm_mon + 1); *dst++ = '-'; |
321 | fmt_02u(ptm->tm_mday); *dst++ = ' '; | fmt_02u(ptm->tm_mday); *dst++ = ' '; |
|