From 75a19475c9dc429e17019133eb8da387e96d04af Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 26 Apr 2000 15:06:19 +0000 Subject: Update for the camel changes. * tests: Update for the camel changes. * Makefile.am (SUBDIRS): Remove tests. They aren't terribly useful/interesting any more for the most part, and they frequently don't compile. svn path=/trunk/; revision=2636 --- tests/test2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/test2.c') diff --git a/tests/test2.c b/tests/test2.c index d71e73e701..0424d1464e 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -11,9 +11,8 @@ int main (int argc, char**argv) { - GHashTable *header_table; CamelMimeMessage *message; - CamelStream *input_stream, *output_stream; + CamelStream *input_stream; gtk_init (&argc, &argv); camel_init (); @@ -21,7 +20,7 @@ main (int argc, char**argv) message = camel_mime_message_new (); - input_stream = camel_stream_fs_new_with_name ("mail.test", CAMEL_STREAM_FS_READ); + input_stream = camel_stream_fs_new_with_name ("mail.test", O_RDONLY, 06000); if (!input_stream) { perror ("could not open input file\n"); printf ("You must create the file mail.test before running this test\n"); -- cgit v1.2.3