libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] largepost.c tutorial returns odd results


From: Christian Grothoff
Subject: Re: [libmicrohttpd] largepost.c tutorial returns odd results
Date: Tue, 14 Aug 2012 19:18:16 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5

Dear Mike,

I've added the missing #includes to make all examples compile without warnings on my system.

I've also been able to reproduce your error with the largepost.c example. I'll try to look into it more later tonight (as it is not obvious to me what is wrong).


Happy hacking!

Christian

On 08/14/2012 05:40 PM, address@hidden wrote:
Hey all,

I've been stepping through all the tutorials and running them from Google 
Chrome using localhost:8888.  Everything works well until I get to largepost.c, 
which produces strange results instead of displaying the contents of askpage.  
Is anyone else having this issue?  I could step through the example to try to 
find the cause but I'm hoping that someone more conversant in libmicrohttpd 
than I can spot it right away.

Also, one suggestion for the tutorials - it'd be great if all the right header 
files could be included in the tutorials so that they work out of the box.  
Both simplepost.c and largepost.c, for example, need stdlib.h, stdio.h and 
string.h to compile w/ no errors or warnings.

Cheers,
MS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]