diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-01-12 00:32:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-01-12 00:32:27 +0000 |
commit | 215c97e83ac74757cffb4f64176c80ddb845d65f (patch) | |
tree | d095f91267523f7d3c63fc710efc97c2eb855bc0 /source | |
parent | 7b031586ca33a381eb0e27f3557f43c2550df5f8 (diff) | |
download | samba-215c97e83ac74757cffb4f64176c80ddb845d65f.tar.gz samba-215c97e83ac74757cffb4f64176c80ddb845d65f.tar.xz samba-215c97e83ac74757cffb4f64176c80ddb845d65f.zip |
propogate my cgi changes to the main branch
Diffstat (limited to 'source')
-rw-r--r-- | source/cgi.c | 2 | ||||
-rw-r--r-- | source/web/cgi.c | 2 | ||||
-rw-r--r-- | source/wsmbconf.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/source/cgi.c b/source/cgi.c index f165c56110b..e697f5537a3 100644 --- a/source/cgi.c +++ b/source/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/source/web/cgi.c b/source/web/cgi.c index f165c56110b..e697f5537a3 100644 --- a/source/web/cgi.c +++ b/source/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/source/wsmbconf.c b/source/wsmbconf.c index 8abdd6d3985..b3bfe6aa506 100644 --- a/source/wsmbconf.c +++ b/source/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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n"); printf("<HTML>\n<HEAD>\n<TITLE>smb.conf</TITLE>\n</HEAD>\n<BODY>\n\n"); } |