From 666cdaf8dd6f92c552bf63ead14ab16aa0193a0b Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 11 Dec 2005 21:54:30 +0000 Subject: [project @ 2005-12-11 21:54:30 by bursa] Disable some log messages. svn path=/import/netsurf/; revision=1896 --- content/content.c | 1 - content/fetch.c | 1 + content/fetchcache.c | 5 ----- render/table.c | 1 + 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/content/content.c b/content/content.c index f27a79b93..70f280c3d 100644 --- a/content/content.c +++ b/content/content.c @@ -501,7 +501,6 @@ bool content_process_data(struct content *c, const char *data, assert(c); assert(c->type < HANDLER_MAP_COUNT); assert(c->status == CONTENT_STATUS_LOADING); - LOG(("content %s, size %u", c->url, size)); if ((c->source_size + size) > c->source_allocated) { extra_space = (c->source_size + size) / 4; diff --git a/content/fetch.c b/content/fetch.c index 6d1b86a42..d3db56027 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -41,6 +41,7 @@ #ifdef riscos #include "netsurf/riscos/gui.h" #endif +#define NDEBUG #include "netsurf/utils/log.h" #include "netsurf/utils/messages.h" #include "netsurf/utils/url.h" diff --git a/content/fetchcache.c b/content/fetchcache.c index f7e6706cf..93c35b2a2 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -234,8 +234,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data, return; } type = content_lookup(mime_type); - LOG(("FETCH_TYPE, type %u", c->download ? - CONTENT_OTHER : type)); res = content_set_type(c, c->download ? CONTENT_OTHER : type, mime_type, params); @@ -262,7 +260,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data, break; case FETCH_DATA: - LOG(("FETCH_DATA")); /* if (c->total_size) content_set_status(c, messages_get("RecPercent"), @@ -285,7 +282,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data, if (url_content) url_content->requests++; - LOG(("FETCH_FINISHED")); c->fetch = 0; content_set_status(c, messages_get("Converting"), c->source_size); @@ -308,7 +304,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data, break; case FETCH_REDIRECT: - LOG(("FETCH_REDIRECT, '%s'", data)); c->fetch = 0; /* redirect URLs must be absolute by HTTP/1.1, but many sites send * relative ones: treat them as relative to requested URL */ diff --git a/render/table.c b/render/table.c index df48ac803..a7c79dd19 100644 --- a/render/table.c +++ b/render/table.c @@ -14,6 +14,7 @@ #include "netsurf/css/css.h" #include "netsurf/render/box.h" #include "netsurf/render/table.h" +#define NDEBUG #include "netsurf/utils/log.h" #include "netsurf/utils/talloc.h" -- cgit v1.2.3