aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-01-02 13:34:46 -0500
committermutantturkey <crazycal00@gmail.com>2011-01-02 13:34:46 -0500
commit9baf5aeb7e1eb6ca9d94984d8e46942f5d2f1352 (patch)
tree431d820941a1f713a300113e1c25053a8d716842
parent8ac631691a5977f0d1f192e993bdc6abac3fdb77 (diff)
in main() fixed %llu to %lu, output in is now in KB
-rw-r--r--shttpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shttpd.c b/shttpd.c
index cf19526..3f81349 100644
--- a/shttpd.c
+++ b/shttpd.c
@@ -278,7 +278,7 @@ static const char *default_extension_map[] = {
"application/xslt+xml" " xslt",
"application/zip" " zip",
"application/x-tar" " tar",
- "application/x-bzip2" " bz2 boz bz",
+ "application/x-bzip2" " bz2 boz bz"
"audio/mpeg" " mp2 mp3 mpga",
"audio/midi" " midi mid",
"image/gif" " gif",
@@ -2691,7 +2691,7 @@ main(int argc, char **argv)
(unsigned int)(r.ru_stime.tv_usec/10000)
);
printf("Requests: %u\n", num_requests);
- printf("Bytes: %llu in, %llu out\n", total_in, total_out);
+ printf("%lu KB in, %lu KB out\n", total_in/1024, total_out/1024);
}
return (0);