aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 21b87d102c..db3983bb1a 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -216,7 +216,7 @@ em_format_get_type(void)
void
em_format_class_add_handler(EMFormatClass *emfc, EMFormatHandler *info)
{
- printf("adding format handler to '%s' '%s'\n", g_type_name_from_class((GTypeClass *)emfc), info->mime_type);
+ d(printf("adding format handler to '%s' '%s'\n", g_type_name_from_class((GTypeClass *)emfc), info->mime_type));
info->old = g_hash_table_lookup(emfc->type_handlers, info->mime_type);
g_hash_table_insert(emfc->type_handlers, info->mime_type, info);
}
@@ -328,7 +328,7 @@ em_format_add_puri(EMFormat *emf, size_t size, const char *cid, CamelMimePart *p
EMFormatPURI *puri;
const char *tmp;
- printf("adding puri for part: %s\n", emf->part_id->str);
+ d(printf("adding puri for part: %s\n", emf->part_id->str));
g_assert(size >= sizeof(*puri));
puri = g_malloc0(size);
@@ -442,13 +442,13 @@ em_format_find_visible_puri(EMFormat *emf, const char *uri)
EMFormatPURI *pw;
struct _EMFormatPURITree *ptree;
- (printf("checking for visible uri '%s'\n", uri));
+ d(printf("checking for visible uri '%s'\n", uri));
ptree = emf->pending_uri_level;
while (ptree) {
pw = (EMFormatPURI *)ptree->uri_list.head;
while (pw->next) {
- (printf(" pw->uri = '%s' pw->cid = '%s\n", pw->uri?pw->uri:"", pw->cid));
+ d(printf(" pw->uri = '%s' pw->cid = '%s\n", pw->uri?pw->uri:"", pw->cid));
if ((pw->uri && !strcmp(pw->uri, uri)) || !strcmp(pw->cid, uri))
return pw;
pw = pw->next;
@@ -559,7 +559,7 @@ em_format_part_as(EMFormat *emf, CamelStream *stream, CamelMimePart *part, const
} else {
tmp = basestr = camel_header_location_decode(tmp);
}
- printf("content-base is '%s'\n", tmp?tmp:"<unset>");
+ d(printf("content-base is '%s'\n", tmp?tmp:"<unset>"));
if (tmp
&& (base = camel_url_new(tmp, NULL))) {
emf->base = base;
@@ -1381,7 +1381,7 @@ emf_multipart_related(EMFormat *emf, CamelStream *stream, CamelMimePart *part, c
g_string_printf(emf->part_id, "%s", puri->part_id);
em_format_part(emf, stream, puri->part);
} else
- printf("unreferenced uri generated by format code: %s\n", puri->uri?puri->uri:puri->cid);
+ d(printf("unreferenced uri generated by format code: %s\n", puri->uri?puri->uri:puri->cid));
}
puri = purin;
purin = purin->next;