diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2001-03-30 04:31:40 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2001-03-30 04:31:40 +0800 |
commit | fe962a2055234adf407999f0557ae25441ca5c35 (patch) | |
tree | ce9254cb08e91cf6528cde689139bd5e4e535ba7 /camel/providers/local/camel-maildir-summary.c | |
parent | 8a0c0a680252b389ad3b3a58090690925b9f99b1 (diff) | |
download | gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.gz gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.zst gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.zip |
Big header cleanups and nntp compile fix
svn path=/trunk/; revision=9024
Diffstat (limited to 'camel/providers/local/camel-maildir-summary.c')
-rw-r--r-- | camel/providers/local/camel-maildir-summary.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/camel/providers/local/camel-maildir-summary.c b/camel/providers/local/camel-maildir-summary.c index 29310e9115..e2ce0f4e97 100644 --- a/camel/providers/local/camel-maildir-summary.c +++ b/camel/providers/local/camel-maildir-summary.c @@ -18,8 +18,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "camel-maildir-summary.h" -#include <camel/camel-mime-message.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/stat.h> #include <sys/uio.h> @@ -33,6 +34,9 @@ #include <ctype.h> +#include "camel-maildir-summary.h" +#include <camel/camel-mime-message.h> + #include "camel-private.h" #include "e-util/e-memory.h" @@ -398,7 +402,7 @@ static int maildir_summary_load(CamelLocalSummary *cls, int forceindex, CamelExc dir = opendir(cur); if (dir == NULL) { - camel_exception_setv(ex, 1, "Cannot open maildir directory path: %s: %s", cls->folder_path, strerror(errno)); + camel_exception_setv(ex, 1, _("Cannot open maildir directory path: %s: %s"), cls->folder_path, strerror(errno)); g_free(cur); return -1; } @@ -519,7 +523,7 @@ maildir_summary_check(CamelLocalSummary *cls, CamelFolderChangeInfo *changes, Ca no longer exist */ dir = opendir(cur); if (dir == NULL) { - camel_exception_setv(ex, 1, "Cannot open maildir directory path: %s: %s", cls->folder_path, strerror(errno)); + camel_exception_setv(ex, 1, _("Cannot open maildir directory path: %s: %s"), cls->folder_path, strerror(errno)); g_free(cur); g_free(new); return -1; |