changeset 255:4c11a0da59e4

- more cleanups in html.cc.
author jcid
date Fri, 30 May 2008 23:42:11 +0200
parents 9fbe5053a36d
children 5941434cc64e
files src/cache.c src/html.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cache.c	Thu May 29 22:11:51 2008 +0200
+++ b/src/cache.c	Fri May 30 23:42:11 2008 +0200
@@ -875,7 +875,7 @@
    if (!(entry->Flags & CA_GotContentType)) {
       st = a_Misc_get_content_type_from_data(
               entry->Data->str, entry->Data->len, &Type);
-      MSG("Cache: detected Content-Type '%s'\n", Type);
+      _MSG("Cache: detected Content-Type '%s'\n", Type);
       if (st == 0 || entry->Flags & CA_GotData) {
          if (a_Misc_content_type_check(entry->TypeHdr, Type) < 0) {
             MSG_HTTP("Content-Type '%s' doesn't match the real data.\n",
--- a/src/html.cc	Thu May 29 22:11:51 2008 +0200
+++ b/src/html.cc	Fri May 30 23:42:11 2008 +0200
@@ -773,7 +773,7 @@
    Local_Buf = dStr_new("");
    Local_Ofs = 0;
 
-   MSG("HTML content type: %s\n", content_type);
+   MSG("DilloHtml(): content type: %s\n", content_type);
    this->content_type = dStrdup(content_type);
 
    /* get charset */