From 3bdd857a4a69e83841c2fbae83d96101912ebf69 Mon Sep 17 00:00:00 2001 From: bertrand Date: Mon, 17 Jan 2000 08:40:11 +0000 Subject: test for the mbox utils. (copy_file_chunk): fixed a nasty bug. 2000-01-17 bertrand * tests/test9.c (main): test for the mbox utils. (copy_file_chunk): fixed a nasty bug. (camel_mbox_write_xev): create the copy file descriptor with the proper arguments. Exceptions implememnted. (camel_mbox_write_xev): changed the way bytes are counted. No more uses the message size cause it did not take into account the message separators characters. (camel_mbox_write_xev): hopefully fixed the last bugs. works ok now. Summary information / X-Evolution header generation should all work ok now. svn path=/trunk/; revision=1579 --- camel/providers/mbox/camel-mbox-folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/mbox/camel-mbox-folder.c') diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index c502a190fd..82e5bc15b3 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -340,7 +340,7 @@ _exists (CamelFolder *folder, CamelException *ex) return FALSE; } - exists = S_REG (stat_buf.st_mode); + exists = S_ISREG (stat_buf.st_mode); /* we should check the rights here */ CAMEL_LOG_FULL_DEBUG ("Leaving CamelMboxFolder::exists\n"); -- cgit v1.2.3