Removed compiler warnings and small bug fix for webhttpd.c