diff options
Diffstat (limited to 'release/picobsd/tinyware')
-rw-r--r-- | release/picobsd/tinyware/simple_httpd/simple_httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/picobsd/tinyware/simple_httpd/simple_httpd.c b/release/picobsd/tinyware/simple_httpd/simple_httpd.c index 9d186ff..6be3809 100644 --- a/release/picobsd/tinyware/simple_httpd/simple_httpd.c +++ b/release/picobsd/tinyware/simple_httpd/simple_httpd.c @@ -319,6 +319,7 @@ http_request(void) http_date(); sprintf(buff, "Content-length: %lld\r\n", file_status.st_size); + write(con_sock, buff, strlen(buff)); if (strstr(filename,".txt")) { strcpy(buff,"Content-type: text/plain\r\n"); |