[evolution-patches] camel-mime-part.c and camel-mime-part-utils.c
- From: Philip Van Hoof <spam pvanhoof be>
- To: evolution-patches gnome org
- Subject: [evolution-patches] camel-mime-part.c and camel-mime-part-utils.c
- Date: Tue, 17 Oct 2006 10:48:01 +0200
Tumtidum
--
Philip Van Hoof, software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
blog: http://pvanhoof.be/blog
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/camel-mime-part-utils.c 2006-04-12 21:14:13.000000000 +0200
+++ camel-mime-part-utils.c 2006-10-17 10:46:14.000000000 +0200
@@ -68,7 +68,7 @@
buffer = g_byte_array_new ();
while (camel_mime_parser_step (mp, &buf, &len) != CAMEL_MIME_PARSER_STATE_BODY_END) {
d(printf("appending o/p data: %d: %.*s\n", len, len, buf));
- g_byte_array_append (buffer, buf, len);
+ g_byte_array_append (buffer, (guchar*)buf, len);
}
d(printf("message part kept in memory!\n"));
--- /home/pvanhoof/repos/gnome/cvs/evolution-data-server/camel/camel-mime-part.c 2006-04-12 21:14:13.000000000 +0200
+++ camel-mime-part.c 2006-10-17 10:46:15.000000000 +0200
@@ -341,7 +341,7 @@
void
camel_mime_part_set_description (CamelMimePart *mime_part, const char *description)
{
- char *text = camel_header_encode_string (description);
+ char *text = camel_header_encode_string ((const unsigned char*)description);
camel_medium_set_header (CAMEL_MEDIUM (mime_part),
"Content-Description", text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]