diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-22 10:12:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-23 13:47:27 +0200 |
commit | fb3d5ade9d3f935a69834aaee0046a54dbf38ca1 (patch) | |
tree | 3c4e8cb281fc284cc9139153c043e88f88e6a5ee /source3/web | |
parent | de0e0119447060c64f4531c031e5509de3afc1b5 (diff) | |
download | samba-fb3d5ade9d3f935a69834aaee0046a54dbf38ca1.tar.gz samba-fb3d5ade9d3f935a69834aaee0046a54dbf38ca1.tar.xz samba-fb3d5ade9d3f935a69834aaee0046a54dbf38ca1.zip |
s3-swat Remove d_printf() calls
These calls only ever output ASCII strings (protocol strings and
debugging), and never user content, so make it clear that these don't
need to be converted into UTF8.
Andrew Bartlett
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/cgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c index fa2304016e..cc31eef97e 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -118,7 +118,7 @@ void cgi_load_variables(void) #ifdef DEBUG_COMMENTS char dummy[100]=""; print_title(dummy); - d_printf("<!== Start dump in cgi_load_variables() %s ==>\n",__FILE__); + printf("<!== Start dump in cgi_load_variables() %s ==>\n",__FILE__); #endif if (!content_length) { @@ -275,7 +275,7 @@ static void cgi_setup_error(const char *err, const char *header, const char *inf } } - d_printf("HTTP/1.0 %s\r\n%sConnection: close\r\nContent-Type: text/html\r\n\r\n<HTML><HEAD><TITLE>%s</TITLE></HEAD><BODY><H1>%s</H1>%s<p></BODY></HTML>\r\n\r\n", err, header, err, err, info); + printf("HTTP/1.0 %s\r\n%sConnection: close\r\nContent-Type: text/html\r\n\r\n<HTML><HEAD><TITLE>%s</TITLE></HEAD><BODY><H1>%s</H1>%s<p></BODY></HTML>\r\n\r\n", err, header, err, err, info); fclose(stdin); fclose(stdout); exit(0); |