aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/MH/camel-mh-folder.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-06 00:02:54 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-06 00:02:54 +0800
commit616d409f7cb18b0dfcac25cb17574e4d9d39d293 (patch)
tree9492a067e865cd0a3b2b60a32e19e6b4269e00e0 /camel/providers/MH/camel-mh-folder.c
parent393c87af52df8cfbb62d7ce884990819dae8d208 (diff)
downloadgsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar.gz
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar.bz2
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar.lz
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar.xz
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.tar.zst
gsoc2013-evolution-616d409f7cb18b0dfcac25cb17574e4d9d39d293.zip
Some notes.
1999-08-05 bertrand <Bertrand.Guiheneuf@aful.org> * camel/README.HACKING: Some notes. * camel/CODING.STYLE: short note about coding style. * camel/README.COPYRIGHT: Note about copyright policy. * camel/providers/MH/camel-mh-folder.c (_list_subfolders): minor typo fixes. svn path=/trunk/; revision=1081
Diffstat (limited to 'camel/providers/MH/camel-mh-folder.c')
-rw-r--r--camel/providers/MH/camel-mh-folder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/MH/camel-mh-folder.c b/camel/providers/MH/camel-mh-folder.c
index ad910f4005..6f7b419841 100644
--- a/camel/providers/MH/camel-mh-folder.c
+++ b/camel/providers/MH/camel-mh-folder.c
@@ -301,15 +301,15 @@ _list_subfolders(CamelFolder *folder)
parent_class->delete_messages (folder);
directory_path = mh_folder->directory_path;
- if (!directory_path) return FALSE;
+ if (!directory_path) return NULL;
- if (!camel_folder_exists (folder)) return TRUE;
+ if (!camel_folder_exists (folder)) return NULL;
dir_handle = opendir (directory_path);
/* read first entry in the directory */
dir_entry = readdir (dir_handle);
- while ((stat_error != -1) && (unlink_error != -1) && (dir_entry != NULL)) {
+ while ((stat_error != -1) && (dir_entry != NULL)) {
/* get the name of the next entry in the dir */
entry_name = dir_entry->d_name;