A few syslog cgi updates

git-svn-id: file:///home/jj/hercules.svn/trunk@773 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Jan Jaeger
2002-03-29 12:54:46 +00:00
parent 3e30dc0669
commit e6647aaef0
2 changed files with 93 additions and 19 deletions
+6 -3
View File
@@ -257,7 +257,7 @@ static void http_load_cgi_variables(WEBBLK *webblk)
#if 0
void http_dump_cgi_variables(WEBBLK *webblk)
static void http_dump_cgi_variables(WEBBLK *webblk)
{
CGIVAR *cv;
for(cv = webblk->cgivar; cv != NULL; cv = cv->next)
@@ -425,7 +425,8 @@ static void *http_request(FILE *hsock)
memset(webblk,0,sizeof(WEBBLK));
webblk->hsock = hsock;
while (fgets(line, sizeof(line), webblk->hsock)) {
while (fgets(line, sizeof(line), webblk->hsock))
{
if (*line == '\r' || *line == '\n')
break;
@@ -520,7 +521,9 @@ static void *http_request(FILE *hsock)
http_load_cgi_variables(webblk);
// http_dump_cgi_variables(webblk);
#if 0
http_dump_cgi_variables(webblk);
#endif
for(cgient = cgidir; cgient->path != NULL; cgient++)
{