diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-19 19:25:02 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-19 19:25:02 +0800 |
commit | d4963655fe3ea009dc867d9dd69f45ff5602a2a5 (patch) | |
tree | cf1589ac9d5c19298ad6c77fcdd50fd9d60f219e /camel/camel-stream-filter.c | |
parent | 544e980df30a310b6ed29b5cd7e5616bf12e02a0 (diff) | |
download | gsoc2013-evolution-d4963655fe3ea009dc867d9dd69f45ff5602a2a5.tar.gz gsoc2013-evolution-d4963655fe3ea009dc867d9dd69f45ff5602a2a5.tar.zst gsoc2013-evolution-d4963655fe3ea009dc867d9dd69f45ff5602a2a5.zip |
Changed to use a different length calculator.
2002-07-19 Not Zed <NotZed@Ximian.com>
* camel-mime-part-utils.c (convert_buffer): Changed to use a
different length calculator.
svn path=/trunk/; revision=17519
Diffstat (limited to 'camel/camel-stream-filter.c')
-rw-r--r-- | camel/camel-stream-filter.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/camel/camel-stream-filter.c b/camel/camel-stream-filter.c index bcb572278d..febfb04e24 100644 --- a/camel/camel-stream-filter.c +++ b/camel/camel-stream-filter.c @@ -242,7 +242,7 @@ do_read (CamelStream *stream, char *buffer, size_t n) p->filtered = p->buffer; p->filteredlen = size; - d(printf ("\n\nOriginal content: '")); + d(printf ("\n\nOriginal content (%s): '", ((CamelObject *)filter->source)->klass->name)); d(fwrite(p->filtered, sizeof(char), p->filteredlen, stdout)); d(printf("'\n")); @@ -251,8 +251,7 @@ do_read (CamelStream *stream, char *buffer, size_t n) &p->filtered, &p->filteredlen, &presize); g_check(p->realbuffer); - d(printf ("Filtered content (%s): '", - camel_type_to_name(((CamelObject *)f->filter)->s.type))); + d(printf ("Filtered content (%s): '", ((CamelObject *)f->filter)->klass->name)); d(fwrite(p->filtered, sizeof(char), p->filteredlen, stdout)); d(printf("'\n")); @@ -286,7 +285,7 @@ do_write (CamelStream *stream, const char *buf, size_t n) p->last_was_read = FALSE; - d(printf ("\n\nWriting: Original content: '")); + d(printf ("\n\nWriting: Original content (%s): '", ((CamelObject *)filter->source)->klass->name)); d(fwrite(buffer, sizeof(char), len, stdout)); d(printf("'\n")); @@ -299,8 +298,7 @@ do_write (CamelStream *stream, const char *buf, size_t n) g_check(p->realbuffer); - d(printf ("Filtered content (%s): '", - camel_type_to_name(((CamelObject *)f->filter)->s.type))); + d(printf ("Filtered content (%s): '", ((CamelObject *)f->filter)->klass->name)); d(fwrite(buffer, sizeof(char), len, stdout)); d(printf("'\n")); @@ -335,15 +333,14 @@ do_flush (CamelStream *stream) presize = 0; f = p->filters; - d(printf ("\n\nFlushing: Original content: '")); + d(printf ("\n\nFlushing: Original content (%s): '", ((CamelObject *)filter->source)->klass->name)); d(fwrite(buffer, sizeof(char), len, stdout)); d(printf("'\n")); while (f) { camel_mime_filter_complete(f->filter, buffer, len, presize, &buffer, &len, &presize); - d(printf ("Filtered content (%s): '", - camel_type_to_name(((CamelObject *)f->filter)->s.type))); + d(printf ("Filtered content (%s): '", ((CamelObject *)f->filter)->klass->name)); d(fwrite(buffer, sizeof(char), len, stdout)); d(printf("'\n")); |