diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2001-01-30 11:51:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-30 11:51:20 +0800 |
commit | 171de13904c8a92b920a3c156837a79fb8d8ae69 (patch) | |
tree | ed8fb4c88864a42825f292f10d411df25a603e88 /mail | |
parent | 2025fe8849e4b86dbbd9074c609a32393fca49f6 (diff) | |
download | gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar.gz gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar.bz2 gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar.lz gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar.xz gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.tar.zst gsoc2013-evolution-171de13904c8a92b920a3c156837a79fb8d8ae69.zip |
Cast the camel_stream_mem_new() to a CamelStreamMem.
2001-01-29 Jeffrey Stedfast <fejj@helixcode.com>
* mail-importer.c (mail_importer_add_line): Cast the
camel_stream_mem_new() to a CamelStreamMem.
svn path=/trunk/; revision=7905
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-importer.c | 2 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 354e091086..1e726b5e05 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Jeffrey Stedfast <fejj@helixcode.com> + + * mail-importer.c (mail_importer_add_line): Cast the + camel_stream_mem_new() to a CamelStreamMem. + 2001-01-29 JP Rosevear <jpr@ximian.com> * main.c: Return efence ifdefs to 0 for solaris build diff --git a/mail/mail-importer.c b/mail/mail-importer.c index d39fa68ee3..3c02576599 100644 --- a/mail/mail-importer.c +++ b/mail/mail-importer.c @@ -59,7 +59,7 @@ mail_importer_add_line (MailImporter *importer, CamelException *ex; if (importer->mstream == NULL) { - importer->mstream = camel_stream_mem_new (); + importer->mstream = CAMEL_STREAM_MEM (camel_stream_mem_new ()); } camel_stream_write (CAMEL_STREAM (importer->mstream), str, diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 1a78c2c7af..271315a2aa 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1242,7 +1242,7 @@ mail_get_store(const char *uri, void (*done) (char *uri, CamelStore *store, void { struct _get_store_msg *m; int id; - + m = mail_msg_new(&get_store_op, NULL, sizeof(*m)); m->uri = g_strdup(uri); m->data = data; |