From 96eed00608226370ca4177fd9c8a4ae54d17517d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Jan 1998 00:32:27 +0000 Subject: propogate my cgi changes to the main branch (This used to be commit 215c97e83ac74757cffb4f64176c80ddb845d65f) --- source3/cgi.c | 2 +- source3/web/cgi.c | 2 +- source3/wsmbconf.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/cgi.c b/source3/cgi.c index f165c56110..e697f5537a 100644 --- a/source3/cgi.c +++ b/source3/cgi.c @@ -614,7 +614,7 @@ void cgi_setup(char *rootdir) cgi_download(url+1); } - printf("HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n"); + printf("HTTP/1.1 200 OK\r\nConnection: close\r\n"); } diff --git a/source3/web/cgi.c b/source3/web/cgi.c index f165c56110..e697f5537a 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -614,7 +614,7 @@ void cgi_setup(char *rootdir) cgi_download(url+1); } - printf("HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n"); + printf("HTTP/1.1 200 OK\r\nConnection: close\r\n"); } diff --git a/source3/wsmbconf.c b/source3/wsmbconf.c index 8abdd6d398..b3bfe6aa50 100644 --- a/source3/wsmbconf.c +++ b/source3/wsmbconf.c @@ -37,6 +37,7 @@ static pstring servicesf = CONFIGFILE; /* start the page with standard stuff */ static void print_header(void) { + printf("Content-type: text/html\r\n\r\n"); printf("\n"); printf("\n\nsmb.conf\n\n\n\n"); } -- cgit