diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-14 18:49:04 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-14 18:49:04 -0300 |
commit | 952f0fed9ae8df6434d1b613b98fa48d2c698332 (patch) | |
tree | 4248283da8f414eb2f8323d56686dbdf586b44c3 /src | |
parent | 7d3db08ea82c01ce1b7606cc2ab89d3da42adc71 (diff) |
Make now-unused debug messages silent.
Diffstat (limited to 'src')
-rw-r--r-- | src/cache.c | 10 | ||||
-rw-r--r-- | src/dicache.c | 2 | ||||
-rw-r--r-- | src/gif.c | 2 | ||||
-rw-r--r-- | src/html.cc | 2 | ||||
-rw-r--r-- | src/image.cc | 2 | ||||
-rw-r--r-- | src/jpeg.c | 2 | ||||
-rw-r--r-- | src/png.c | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/src/cache.c b/src/cache.c index 9cdcdfb4..328d4913 100644 --- a/src/cache.c +++ b/src/cache.c @@ -636,7 +636,7 @@ static void Cache_parse_header(CacheEntry_t *entry) void *data; int i; - MSG("Cache_parse_header\n"); + _MSG("Cache_parse_header\n"); if (entry->Header->len > 12) { if (header[9] == '1' && header[10] == '0' && header[11] == '0') { @@ -751,8 +751,8 @@ static void Cache_parse_header(CacheEntry_t *entry) /* This HTTP Content-Type is not trusted. It's checked against real data * in Cache_process_queue(); only then CA_GotContentType becomes true. */ entry->TypeHdr = Type; - MSG("TypeHdr {%s} {%s}\n", Type, URL_STR(entry->Url)); - MSG("TypeMeta {%s}\n", entry->TypeMeta); + _MSG("TypeHdr {%s} {%s}\n", Type, URL_STR(entry->Url)); + _MSG("TypeMeta {%s}\n", entry->TypeMeta); } } @@ -773,7 +773,7 @@ static int Cache_get_header(CacheEntry_t *entry, continue; if (N == 1 && (buf[i] == ' ' || buf[i] == '\t')) { /* unfold multiple-line header */ - MSG("Multiple-line header!\n"); + _MSG("Multiple-line header!\n"); dStr_erase(hdr, hdr->len - 1, 1); } N = (buf[i] == '\n') ? N + 1 : 0; @@ -810,7 +810,7 @@ void a_Cache_process_dbuf(int Op, const char *buf, size_t buf_size, /* Assert a valid entry (not aborted) */ dReturn_if_fail (entry != NULL); - MSG("__a_Cache_process_dbuf__\n"); + _MSG("__a_Cache_process_dbuf__\n"); if (Op == IORead) { /* diff --git a/src/dicache.c b/src/dicache.c index 424fc87f..36d08369 100644 --- a/src/dicache.c +++ b/src/dicache.c @@ -357,7 +357,7 @@ void a_Dicache_close(DilloUrl *url, int version, CacheClient_t *Client) dReturn_if_fail ( DicEntry != NULL ); /* a_Dicache_unref() may free DicEntry */ - MSG("a_Dicache_close RefCount=%d\n", DicEntry->RefCount - 1); + _MSG("a_Dicache_close RefCount=%d\n", DicEntry->RefCount - 1); if (DicEntry->State < DIC_Close) { DicEntry->State = DIC_Close; @@ -262,7 +262,7 @@ static void Gif_close(DilloGif *gif, CacheClient_t *Client) { int i; - MSG("Gif_close: destroy gif %p\n", gif); + _MSG("Gif_close: destroy gif %p\n", gif); a_Dicache_close(gif->url, gif->version, Client); diff --git a/src/html.cc b/src/html.cc index 06fcee4f..ffa213ae 100644 --- a/src/html.cc +++ b/src/html.cc @@ -564,7 +564,7 @@ void DilloHtml::write(char *Buf, int BufSize, int Eof) char *buf = Buf + Start_Ofs; int bufsize = BufSize - Start_Ofs; - MSG("DilloHtml::write BufSize=%d Start_Ofs=%d\n", BufSize, Start_Ofs); + _MSG("DilloHtml::write BufSize=%d Start_Ofs=%d\n", BufSize, Start_Ofs); #if 0 char *aux = dStrndup(Buf, BufSize); MSG(" {%s}\n", aux); diff --git a/src/image.cc b/src/image.cc index fa4f5516..0edaf35c 100644 --- a/src/image.cc +++ b/src/image.cc @@ -144,7 +144,7 @@ void a_Image_write(DilloImage *Image, uint_t y) */ void a_Image_close(DilloImage *Image) { - MSG("a_Image_close\n"); + _MSG("a_Image_close\n"); a_Image_unref(Image); } @@ -139,7 +139,7 @@ void *a_Jpeg_image(const char *Type, void *P, CA_Callback_t *Call, */ static void Jpeg_close(DilloJpeg *jpeg, CacheClient_t *Client) { - MSG("Jpeg_close\n"); + _MSG("Jpeg_close\n"); a_Dicache_close(jpeg->url, jpeg->version, Client); jpeg_destroy_decompress(&(jpeg->cinfo)); dFree(jpeg); @@ -304,7 +304,7 @@ static void */ static void Png_close(DilloPng *png, CacheClient_t *Client) { - MSG("Png_close\n"); + _MSG("Png_close\n"); /* Let dicache know decoding is over */ a_Dicache_close(png->url, png->version, Client); |