summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-12-11 21:54:30 +0000
committerJames Bursa <james@netsurf-browser.org>2005-12-11 21:54:30 +0000
commit666cdaf8dd6f92c552bf63ead14ab16aa0193a0b (patch)
tree05b955d4fcfe04964f5f26b8e513a635e9dca42f
parent22efec6d8f0ede1977d922ae02e4dfbc988d59a3 (diff)
downloadnetsurf-666cdaf8dd6f92c552bf63ead14ab16aa0193a0b.tar.gz
netsurf-666cdaf8dd6f92c552bf63ead14ab16aa0193a0b.tar.bz2
[project @ 2005-12-11 21:54:30 by bursa]
Disable some log messages. svn path=/import/netsurf/; revision=1896
-rw-r--r--content/content.c1
-rw-r--r--content/fetch.c1
-rw-r--r--content/fetchcache.c5
-rw-r--r--render/table.c1
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"