diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-28 12:37:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-28 12:37:16 +0000 |
commit | 5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf (patch) | |
tree | 8fa1fa4abeb29eb5ca5829a084a07fae55bc679b /networking/httpd.c | |
parent | 8c35d65c43216bb840326ac7476a180e2ae36fe9 (diff) | |
download | busybox-w32-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.tar.gz busybox-w32-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.tar.bz2 busybox-w32-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.zip |
ls: cleanup part 1
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 803c45e6e..e927c955f 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -919,7 +919,7 @@ static int sendHeaders(HttpResponseNum responseNum) | |||
919 | 919 | ||
920 | if (config->ContentLength != -1) { /* file */ | 920 | if (config->ContentLength != -1) { /* file */ |
921 | strftime(timeStr, sizeof(timeStr), RFC1123FMT, gmtime(&config->last_mod)); | 921 | strftime(timeStr, sizeof(timeStr), RFC1123FMT, gmtime(&config->last_mod)); |
922 | len += sprintf(buf+len, "Last-Modified: %s\r\n%s "OFF_FMT"\r\n", | 922 | len += sprintf(buf+len, "Last-Modified: %s\r\n%s %"OFF_FMT"\r\n", |
923 | timeStr, Content_length, (off_t) config->ContentLength); | 923 | timeStr, Content_length, (off_t) config->ContentLength); |
924 | } | 924 | } |
925 | strcat(buf, "\r\n"); | 925 | strcat(buf, "\r\n"); |