Trivial fixes 3

Hi, Eric.

Here are some more fixes for the source code (some of the errors are quite stupid).

BTW:

* Is there any particular reason to use casts with `mallocs`? They are useless in C and, in C++, one should not really be using `malloc`, but `new`.
* Is there any reason why you use things like `"\015\012"` instead of, say, the more readable `"\r\n"` or, even, with a preprocessor macro like CRLF defined like this?
* Why are a bunch of files (.svg, .c, .h) files marked as executable?

Anyway, there are many other places where the code may be further improved. BTW, what is the recommended practice of compiling just one small module (say, `httpd-gargoyle`), instead of compiling the whole thing?

Regards,

Rogério.