Several webserver bugs fixed

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@391 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-11-20 20:32:33 +00:00
parent 26c91f4733
commit ea2ca7bfc3
21 changed files with 800 additions and 183 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ static void file_stats(struct httpd_state *pstate, char *ptr)
char buffer[16];
char *pcount = strchr(ptr, ' ') + 1;
snprintf(buffer, 16, "%5u", httpd_fs_count(pcount));
(void)send(pstate->sockfd, buffer, strlen(buffer), 0);
(void)send(pstate->ht_sockfd, buffer, strlen(buffer), 0);
}
#endif