diff options
author | bertrand <bertrand@helixcode.com> | 2000-01-17 16:40:11 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-01-17 16:40:11 +0800 |
commit | 3bdd857a4a69e83841c2fbae83d96101912ebf69 (patch) | |
tree | 96287828f9f04604e529a52b11a0f07206d04744 /camel/providers/mbox/camel-mbox-folder.c | |
parent | 8c55e9f58b86483aa64c75a9324cd04e3ae79b2b (diff) | |
download | gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar.gz gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar.bz2 gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar.lz gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar.xz gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.tar.zst gsoc2013-evolution-3bdd857a4a69e83841c2fbae83d96101912ebf69.zip |
test for the mbox utils. (copy_file_chunk): fixed a nasty bug.
2000-01-17 bertrand <bertrand@helixcode.com>
* 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
Diffstat (limited to 'camel/providers/mbox/camel-mbox-folder.c')
-rw-r--r-- | camel/providers/mbox/camel-mbox-folder.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |