httpd_indexcgi example: trivial fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e6080a4d7e
commit
c2d413ba74
@ -315,7 +315,7 @@ int main(int argc, char *argv[])
|
|||||||
if (S_ISREG(cdir->dl_mode))
|
if (S_ISREG(cdir->dl_mode))
|
||||||
fmt_ull(cdir->dl_size);
|
fmt_ull(cdir->dl_size);
|
||||||
fmt_str("<td class=dt>");
|
fmt_str("<td class=dt>");
|
||||||
tm = gmtime(&cdir->dl_mtime);
|
ptm = gmtime(&cdir->dl_mtime);
|
||||||
fmt_04u(1900 + ptm->tm_year); *dst++ = '-';
|
fmt_04u(1900 + ptm->tm_year); *dst++ = '-';
|
||||||
fmt_02u(ptm->tm_mon + 1); *dst++ = '-';
|
fmt_02u(ptm->tm_mon + 1); *dst++ = '-';
|
||||||
fmt_02u(ptm->tm_mday); *dst++ = ' ';
|
fmt_02u(ptm->tm_mday); *dst++ = ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user