HTTP parser, plus wat kleine fixes. Erik, ik heb comments voor je achtergelaten in de vorm '//ERIK: tekst'. Enjoy.

This commit is contained in:
Thulinma 2011-01-24 01:41:01 +01:00
parent 2f45b6113c
commit 0d974a7df8
4 changed files with 276 additions and 21 deletions

View file

@ -63,12 +63,12 @@ int main(int argc, char ** argv){
if (daemon_mode){
daemon(1, 0);
#if DEBUG >= 3
fprintf(stderr, "Going into background mode...");
fprintf(stderr, "Going into background mode...\n");
#endif
}
}else{
#if DEBUG >= 1
fprintf(stderr, "Error: could not make listening socket");
fprintf(stderr, "Error: could not make listening socket\n");
#endif
return 1;
}