[project @ 2005-12-11 21:54:30 by bursa]

Disable some log messages.

svn path=/import/netsurf/; revision=1896
This commit is contained in:
James Bursa 2005-12-11 21:54:30 +00:00
parent 22efec6d8f
commit 666cdaf8dd
4 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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"

View File

@ -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 */

View File

@ -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"