aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-folder.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-01-12 10:09:50 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-01-12 10:09:50 +0800
commitc6ff08354321779cfa5995ee768b6f17a32847c5 (patch)
tree86a3766cb1b518fe037664c4e144ca3e3097af39 /camel/providers/mbox/camel-mbox-folder.c
parentedcdb2068858eebca3c23978c91b827a077c02a1 (diff)
downloadgsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.gz
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.bz2
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.lz
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.xz
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.zst
gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.zip
Backup of the first clean and working mbox file parser. It both find the
2000-01-11 bertrand <bertrand@helixcode.com> Backup of the first clean and working mbox file parser. It both find the message and pre-parse the message, that is, retrieve some key headers, and the first lines of the body. svn path=/trunk/; revision=1556
Diffstat (limited to 'camel/providers/mbox/camel-mbox-folder.c')
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c
index 966218fcc6..674f56c193 100644
--- a/camel/providers/mbox/camel-mbox-folder.c
+++ b/camel/providers/mbox/camel-mbox-folder.c
@@ -195,7 +195,6 @@ _open (CamelFolder *folder, CamelFolderOpenMode mode, CamelException *ex)
{
CamelMboxFolder *mbox_folder = CAMEL_MBOX_FOLDER (folder);
struct dirent *dir_entry;
- DIR *dir_handle;
if (folder->open_state == FOLDER_OPEN) {
@@ -763,6 +762,7 @@ _list_subfolders (CamelFolder *folder, CamelException *ex)
+#if 0
static CamelMimeMessage *
_get_message_by_number (CamelFolder *folder, gint number, CamelException *ex)
@@ -803,9 +803,14 @@ _get_message_by_number (CamelFolder *folder, gint number, CamelException *ex)
#warning Set flags and all this stuff here
}
g_free (message_file_name);
+
} else
CAMEL_LOG_FULL_DEBUG ("CanelMhFolder::get_message message number = %d, not found\n", number);
return message;
}
+
+#endif
+
+