diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-09 06:33:39 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-09 06:33:39 +0800 |
commit | 3ab48c957cdade2b751d98fda4c37ae2c0d71aee (patch) | |
tree | 09ce1562b087ab1acd6f4c4765acb2f2b8e6ad61 /tests/test2.c | |
parent | 38165888d297d91e1bdf5f1ac6027b900b23b740 (diff) | |
download | gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar.gz gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar.bz2 gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar.lz gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar.xz gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.tar.zst gsoc2013-evolution-3ab48c957cdade2b751d98fda4c37ae2c0d71aee.zip |
update for camelstream changes
svn path=/trunk/; revision=2926
Diffstat (limited to 'tests/test2.c')
-rw-r--r-- | tests/test2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test2.c b/tests/test2.c index 2aa0ae93de..a6299357cb 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -12,6 +12,7 @@ main (int argc, char**argv) { CamelMimeMessage *message; CamelStream *input_stream; + CamelException *ex = camel_exception_new (); gtk_init (&argc, &argv); camel_init (); @@ -19,7 +20,7 @@ main (int argc, char**argv) message = camel_mime_message_new (); - input_stream = camel_stream_fs_new_with_name ("mail.test", O_RDONLY, 0); + input_stream = camel_stream_fs_new_with_name ("mail.test", O_RDONLY, 0, ex); if (!input_stream) { perror ("could not open input file\n"); printf ("You must create the file mail.test before running this test\n"); |