What steps will reproduce the problem?
1. Start project in MSVC 2008.
2. Embed mongoose.c.
3. Add lines in mongoose.c to print out response headers, like in send_file
function.
What is the expected output? What do you see instead?
I get a blank content-length header with no numeric value. This causes
IE8 to not display any content. The problem is the INT64_FMT format code.
This formatting code is used throughout mongoose.c, so I expect this issue
to cause similar issues elsewhere.
What version of the product are you using? On what operating system?
Latest mongoose code from google code/subversion. Windows Vista.
Please provide any additional information below.
The fix is to change the following line:
#define INT64_FMT "I64"
... to ...
#define INT64_FMT "I64d"
Original issue reported on code.google.com by csgrim...@gmail.com on 31 Mar 2010 at 4:20
Original issue reported on code.google.com by
csgrim...@gmail.com
on 31 Mar 2010 at 4:20