diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-04-15 08:37:59 -0700 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-04-15 08:37:59 -0700 |
commit | c2d413ba74bd140043da80c9418c6be96056afb2 (patch) | |
tree | 110ee861377a4eb473cb34295f8464a7a5928da6 | |
parent | e6080a4d7ed593e9ba4bf0027eb8142d52846085 (diff) | |
download | busybox-w32-c2d413ba74bd140043da80c9418c6be96056afb2.tar.gz busybox-w32-c2d413ba74bd140043da80c9418c6be96056afb2.tar.bz2 busybox-w32-c2d413ba74bd140043da80c9418c6be96056afb2.zip |
httpd_indexcgi example: trivial fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/httpd_indexcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c index 9fa7c7481..af4338006 100644 --- a/networking/httpd_indexcgi.c +++ b/networking/httpd_indexcgi.c | |||
@@ -315,7 +315,7 @@ int main(int argc, char *argv[]) | |||
315 | if (S_ISREG(cdir->dl_mode)) | 315 | if (S_ISREG(cdir->dl_mode)) |
316 | fmt_ull(cdir->dl_size); | 316 | fmt_ull(cdir->dl_size); |
317 | fmt_str("<td class=dt>"); | 317 | fmt_str("<td class=dt>"); |
318 | tm = gmtime(&cdir->dl_mtime); | 318 | ptm = gmtime(&cdir->dl_mtime); |
319 | fmt_04u(1900 + ptm->tm_year); *dst++ = '-'; | 319 | fmt_04u(1900 + ptm->tm_year); *dst++ = '-'; |
320 | fmt_02u(ptm->tm_mon + 1); *dst++ = '-'; | 320 | fmt_02u(ptm->tm_mon + 1); *dst++ = '-'; |
321 | fmt_02u(ptm->tm_mday); *dst++ = ' '; | 321 | fmt_02u(ptm->tm_mday); *dst++ = ' '; |