diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/cgi.c | 2 | ||||
-rw-r--r-- | source3/web/cgi.c | 2 | ||||
-rw-r--r-- | 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("<!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"); } |