diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-29 23:57:47 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-29 23:57:47 +0800 |
commit | 68a9dad22b742e3034eea24a57a0e7fad3356201 (patch) | |
tree | 852a65e1a2c0ab0a8d507bcdc8bba64bf2765be1 /tests/test1.c | |
parent | e826255bf13255f2b5c626192de4fd10a3885b6f (diff) | |
download | gsoc2013-evolution-68a9dad22b742e3034eea24a57a0e7fad3356201.tar.gz gsoc2013-evolution-68a9dad22b742e3034eea24a57a0e7fad3356201.tar.zst gsoc2013-evolution-68a9dad22b742e3034eea24a57a0e7fad3356201.zip |
text parameter declared const
1999-08-28 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part.c (camel_mime_part_set_text):
text parameter declared const
* camel/camel-mime-part-utils.c (camel_mime_part_store_stream_in_buffer):
actually test correctly nb_bytes_read_chunk is >0
* camel/gstring-util.c:
* camel/gmime-content-field.c:
* camel/providers/MH/camel-mh-folder.c:
* camel/camel-stream-fs.c:
include string.h
* camel/camel-stream-mem.c (_write): return
the numver of written bytes.
* camel/camel-stream-buffered-fs.c (_eos):
return sthg
* camel/camel-stream.c (default_camel_seek):
return something.
* Started to work on new recipient code.
* fixed various leaks.
svn path=/trunk/; revision=1146
Diffstat (limited to 'tests/test1.c')
-rw-r--r-- | tests/test1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test1.c b/tests/test1.c index f5e3f164b6..22e9f03234 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -43,7 +43,7 @@ main (int argc, char**argv) multipart = camel_multipart_new (); body_part = camel_mime_body_part_new (); - camel_mime_part_set_text (CAMEL_MIME_PART (body_part), g_strdup ("This is a test.\nThis is only a test.\n")); + camel_mime_part_set_text (CAMEL_MIME_PART (body_part), "This is a test.\nThis is only a test.\n"); camel_multipart_add_part (multipart, body_part); camel_medium_set_content_object (CAMEL_MEDIUM (message), CAMEL_DATA_WRAPPER (multipart)); @@ -62,5 +62,6 @@ main (int argc, char**argv) gtk_object_unref (GTK_OBJECT (body_part)); printf ("Test1 finished\n"); + return 1; } |